Re: Multilog failing to rotate logfiles
Robert Fisher <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
Adrian
I guess I should add, if I stop the mail server and restart it. The log
files will rotate if they are greater than 10MB.
Robert
Adrian Ho wrote:
>On Thu, Nov 25, 2004 at 06:40:28PM -0900, Robert Fisher wrote:
>
>
>>I am having a small problem with Multilog. It appears that it is not
>>auto rotating the logs. My commands for the log files are
>>
>>/usr/local/bin/multilog t s10000000 /var/log/qmail/smtpd
>>/usr/local/bin/multilog t s10000000 /var/log/qmail
>>/usr/local/bin/multilog t s10000000 /var/log/qmail/pop3d
>>
>>So in this case, it should rotate the logs at 10MB approx. However, all
>>three logs are going well beyond that and filling up my disk space.
>>
>>
>
>It's not clear what your problem is. Do you have up to 10 log files in
>each of the above directories, each of which is no larger than 10000000
>bytes?
>
>If yes, that's exactly what you told multilog to keep (you may have
>missed the "n" option in the multilog man page).
>
>If not, what's the output of:
>
> ls -l /var/log/qmail{,/smtpd,/pop3d}
>
>and:
>
> cat -vE <your_multilog_run_scripts>
>
>? And did you change the above multilog run scripts but forget to
>restart the corresponding log services?
>
>- Adrian
>
>
>
>