Dies ist eine alte Version des Dokuments!


Logfilerotation in »/var/log« beeinflussen

In »var/log« befinden sich idR die Logfiles des Systems und weiteren Diensten. Wie auf UNIX Systemen üblich werden dort die Logfiles ggf komprimiert, rotiert und somit archiviert. Unter Mac OSX wird diese Rotation durch die Konfigurationsdatei »/etc/newsyslog.conf« gesteuert. Dort wird eingestellt wann ein Logfile komprimiert wird und wie viele Versionen davon archiviert werden:

/etc/newsyslog.conf

# logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
/var/log/appfirewall.log                640  5     1000 *     J
/var/log/ftp.log                        640  5     1000 *     J
/var/log/hwmond.log                     640  5     1000 *     J
/var/log/install.log                    640  5     1000 *     J
/var/log/ipfw.log                       640  5     1000 *     J
/var/log/lookupd.log                    640  5     1000 *     J
/var/log/lpr.log                        640  5     1000 *     J
/var/log/mail.log                       640  5     1000 *     J
/var/log/ppp.log                        640  5     1000 *     J
/var/log/secure.log                     640  5     1000 *     J
/var/log/system.log                     640  7     *    @T00  J
/var/log/wtmp                           644  3     *    @01T05 B

mac/newsyslogconf.1336380227.txt.gz (7789 views) · Zuletzt geändert: 2012/05/07 10:43 von wikisysop
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0