[rudder-users] log file very large

Matthieu CERDA matthieu.cerda at normation.com
Thu Sep 4 15:34:46 CEST 2014


Hello there!

The actual logrotate definition for rudder reports is in
/etc/logrotate.d/rudder:

--- 8< ---
/var/log/rudder/reports/*.log {
daily
missingok
rotate 30
compress
notifempty
create 640 root adm
delaycompress
sharedscripts
postrotate
/usr/sbin/service rsyslog reload > /dev/null
endscript
}
--- 8< ---

The files in there are actually rotated daily for 30 days before beeing
ruled out, and are compressed. By defaults, reports are stored in here,
and that might take quite a lot of space.

But as Olivier said, unchecking "Log all reports received to
/var/log/rudder/reports/all.log" in Rudder's Administration tab is often
more that enough to reduce the big load of data stacking in all.log :)

No need to change the logrotate, a simple click and you're free from
worry \o/

Regards,
--
Matthieu CERDA

Le 04/09/2014 14:10, nicolas schont a écrit :
> Hello
>
> thanks, now rudder log is write in all.log
>
>
>
>
> Nicolas SCHONT
> Responsable des infrastructures TICE
> DSI, Production et Opérations
> Tél.: 01 30 83 52 94
> Tcp.: 01 30 83 48 46
>
> Rectorat de Versailles • 3 boulevard de Lesseps • 78017 Versailles cedex •
> http://www.ac-versailles.fr



More information about the rudder-users mailing list