User story #4520
closed
Don't write execution report in several log files
Added by François ARMAND over 10 years ago.
Updated over 10 years ago.
Category:
Performance and scalability
Description
Today, we are writing node execution reports in at least 3 places:
- all.log,
- webapp logs,
- database.
There is absolutly no need to write them in both webapp logs and all.log. Moreover, they tends to make webapp logs unreadable.
And all.log should be rename with a correct name (node-reports.log ? node-execution.log ?)
François ARMAND wrote:
Today, we are writing node execution reports in at least 3 places:
- all.log,
- webapp logs,
- database.
There is absolutly no need to write them in both webapp logs and all.log. Moreover, they tends to make webapp logs unreadable.
And all.log should be rename with a correct name (node-reports.log ? node-execution.log ?)
Actually, I'm not sure this is quite right. I agree for all.log and database, but there is also linuxlog.log (also could be renamed, or winlog.log).
However, I don't see where the webapp writes these out?
We used to have extLinuxReport.log as well, but since cfengine 3.5 it's not populated anymore
I guess Francois is refering to the /var/log/rudder/compliance/non-compliant-reports.log
I agree we should drop all.log (or linuxlog.log). The original idea what to have a file with all reports received, one for all reports received from Rudder on linux (linuxlog) and one for all windows system (winlog)
the naming was really poor (I'm responsible for that), and there is a lot of duplications there.
More info:
- we are keeping /var/log/rudder/compliance/non-compliant-reports.log: it's a post-proccessed file, with valuable information
- we don't keep linuxlog.log nor windowslog.log
- we keep all.log
- there is no need to update logrotate configuration
- Status changed from New to 14
- Status changed from 14 to Pending release
- Assignee set to Jonathan CLARKE
- Category changed from Performance and scalability to 39
- Category changed from 39 to Performance and scalability
- Status changed from Pending release to Released
Also available in: Atom
PDF