- changed status to resolved
Raw log is always cleaned, no matter the settings
Issue #871
resolved
Due to copy-paste error in /opt/admin/src/AppBundle/Config/Cleaning.php
raw log cleanup cannot be configured at all:
if(isset($data['auth_log'])) $this->authLog = $data['auth_log'] == '1';
if(isset($data['auth_log_interval'])) $this->authLogInterval = $data['auth_log_interval'];
if(isset($data['raw_log'])) $this->authLog = $data['raw_log'] == '1';
if(isset($data['raw_log_interval'])) $this->authLogInterval = $data['raw_log_interval'];
Note that the raw_log
configuration is assigned to the authLog
property, same as the auth_log
config!
It should read:
if(isset($data['auth_log'])) $this->authLog = $data['auth_log'] == '1';
if(isset($data['auth_log_interval'])) $this->authLogInterval = $data['auth_log_interval'];
if(isset($data['raw_log'])) $this->rawLog = $data['raw_log'] == '1';
if(isset($data['raw_log_interval'])) $this->rawLogInterval = $data['raw_log_interval'];
Comments (1)
-
repo owner - Log in to comment
Thanks! Fixed in latest version