Re: [SLUG] do all logs in /var/log get rotated, or where is that ?
This one time, at band camp, Voytek wrote: >what motivates various log files in /var/log to be rotated ? > >if I have a script that logs to /var/log/mylog.log, will that get rotated, >or, where do I enrol it , should I wish to have it rotated (and I probably >do not, it writes one entry per day) usually it's a tool called logrotate, if you have it installed it runs out of cron nightly and is configured by /etc/logrotate.conf and the files in /etc/logrotate.d/ -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] do all logs in /var/log get rotated, or where is that ?
You have a psudo deamon called logrotate.d it's a cron job that runs on a daily basis and reads the config files in both /etc/ and /etc/logrotate.d/ directories. what motivates various log files in /var/log to be rotated ? if I have a script that logs to /var/log/mylog.log, will that get rotated, or, where do I enrol it , should I wish to have it rotated (and I probably do not, it writes one entry per day) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] do all logs in /var/log get rotated, or where is that ?
what motivates various log files in /var/log to be rotated ? if I have a script that logs to /var/log/mylog.log, will that get rotated, or, where do I enrol it , should I wish to have it rotated (and I probably do not, it writes one entry per day) -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html