Am Montag, 17. September 2001 13:33 schrieb r.hegewald:
At 12:59 17.09.2001 +0200, Andreas Rittershofer wrote:
On 17 Sep 01, at 9:37, r.hegewald wrote:
Whenever some program (or script?) compresses /var/log/messages a new messages file is created but always with 0 values. Nothing is written to
You should not create a new log file but erase its content with cat /dev/null > /som/log/file
I don't create new log files. It is Suse with some (which??) cronjobs switching log files whenever they grow to a certain size, I guess. I think the intention is OK, but still nothing is written to the new log file. It's done with cron-daily (config file: /etc/cron.daily/aaa_base_rotate_logs) You can define sizes and id's of logfiles in /etc/logfiles
-- Best Regards, Manfred Schirmer CSE GmbH network administrator mailto:manfred.schirmer@cse.de