Project

General

Profile

Bug #10912

Updated by Nicolas CHARLES almost 7 years ago

For now, we can't configure the duration of the retention of logs in /var/log/rudder which managed by logrotate, itself managed by Rudder (the one managed by logback can be changed in the logback.xml file not managed by rudder itself).  

 The correct solution would be to add a new parameter to make the duration configurable.  

 See also #10899 for the architecture constraints on that ticket (can impact the version on which we will be able to change the behavior) 

 For the record, workaround is to have a defaut value of 30 days for log rotation, and if the Parameter *log_duration* is defined, then the defined value will be used to define rotation (as a number of days) 

Back