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É over 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
3
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 #1

Updated by Vincent MEMBRÉ over 11 years ago

  • Description updated (diff)
Actions #2

Updated by Vincent MEMBRÉ over 11 years ago

  • Status changed from New to Pending technical review
Actions #3

Updated by Vincent MEMBRÉ over 11 years ago

  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
Actions #4

Updated by Jonathan CLARKE over 11 years ago

  • Assignee changed from Jonathan CLARKE to Vincent MEMBRÉ

Some updates to be done, Vincent, see PR.

Actions #5

Updated by Vincent MEMBRÉ over 11 years ago

  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE

Following your comments, I commited the change on the pull request.

If you are ok with the changes, i'll rebase everything in one commit

Actions #6

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending technical review to 12

All clear and ready to merge!

Actions #7

Updated by Nicolas CHARLES over 11 years ago

  • Status changed from 12 to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:f79442ca54b3764e900d7fd7093a45747472a550.

Actions #8

Updated by Matthieu CERDA over 11 years ago

  • Status changed from Pending release to Released
Actions #9

Updated by Benoît PECCATTE about 9 years ago

  • Tracker changed from 6 to User story
Actions

Also available in: Atom PDF