Bug #10912
closedDuration of logrotate for /var/log/rudder/ is too long making /var/log too big
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)
Updated by François ARMAND over 7 years ago
- Related to Architecture #10899: Allow to update system variables in technique without changing webapp code added
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.21 to 3.1.22
Updated by Benoît PECCATTE over 7 years ago
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Priority changed from 0 to 36
Updated by Benoît PECCATTE over 7 years ago
- Translation missing: en.field_tag_list set to Sponsored
- Priority changed from 36 to 61
Updated by Benoît PECCATTE over 7 years ago
- Assignee set to Benoît PECCATTE
We can use a global parameter to set this value.
rudder agent can then use the variable, affect a default value and generate the logrotate template.
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.22 to 3.1.23
- Priority changed from 77 to 76
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.23 to 3.1.24
- Priority changed from 76 to 75
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.24 to 3.1.25
- Priority changed from 75 to 73
Updated by Benoît PECCATTE about 7 years ago
- Status changed from New to In progress
Updated by Benoît PECCATTE about 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1216
Updated by Alexis Mousset about 7 years ago
- Assignee changed from Alexis Mousset to Benoît PECCATTE
- Priority changed from 72 to 78
Updated by Benoît PECCATTE about 7 years ago
- Assignee changed from Benoît PECCATTE to Alexis Mousset
Updated by Benoît PECCATTE about 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|6ba1df9ab3f19456b4af03f1d5d79461c0ec4391.
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending release to Released
Updated by Nicolas CHARLES almost 7 years ago
- Description updated (diff)
- Priority changed from 78 to 76