Project

General

Profile

Actions

Bug #10912

closed

Duration of logrotate for /var/log/rudder/ is too long making /var/log too big

Added by François ARMAND almost 7 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

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)


Related issues 1 (1 open0 closed)

Related to Rudder - Architecture #10899: Allow to update system variables in technique without changing webapp codeNewFrançois ARMANDActions
Actions

Also available in: Atom PDF