Project

General

Profile

Actions

User story #3073

closed

User story #2988: Log agent's report about failure in a dedicated logfile

User story #3024: [Integration] Log agent's report about failure in a dedicated logfile

add logrotate configuration for "non compliant reports" logfile

Added by Vincent MEMBRÉ almost 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Assignee:
Jonathan CLARKE
Category:
-
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

The new log file about "non compliant reports" need to have a logrotate configuration given by rudder.

we have to add in techniques/system/distributePolicy/1.0/logrotate.debian.st

/var/log/rudder/compliance/non-compliant-reports.log {
        daily
        missingok
        rotate 30
        compress
        notifempty
        create 640 root adm
}

and the same for suse :

/var/log/rudder/compliance/non-compliant-reports.log {
        daily
        missingok
        rotate 30
        compress
        notifempty
        create 640 root root
}

pull request : https://github.com/Normation/rudder-techniques/pull/14

Actions

Also available in: Atom PDF