4 Nov
2004
4 Nov
'04
6:48 a.m.
Hi everyone! Got a problem with logrotation in RedHat9 when using syslog-ng. We are using the "logrotate" command, and we dont get syslog-ng to change files. I have included a "postrotate" command in the logrotate.conf file that sends a -HUP signal to the syslog-ng process, and syslog-ng reports in the logs that it got received and it is restarting. But anyway, it still writes its logs to the rotated logfile? For example logging messages to file "message.log" Perform the logrotate command and we get 2 files, "message.log" and message.log.1" BUT now syslog-ng writes its logs to message.log.1, and I want it to start over on the message.log file? Any clues? BR