Koozali.org: home of the SME Server

Qmail-Logging level

Patrik

Qmail-Logging level
« on: February 17, 2000, 11:25:56 AM »
Can someone tell me how to stop log qmail req?
secure becomes very big after a while..

Charlie Brady

RE: Qmail-Logging level
« Reply #1 on: February 18, 2000, 12:08:44 PM »
Patrik wrote:

> Can someone tell me how to stop log qmail req? secure becomes
> very big after a while..

I'm sorry, but I do not understand your question. The qmail logs
are created and managed using the cyclog program, and it limits both the size of each log file that it creates, and the number of log files which are kept. You shouldn't have a problem with excessive log files created by qmail.

Charlie

Patrik

RE: Qmail-Logging level
« Reply #2 on: February 18, 2000, 01:50:29 PM »
No its just that relevant info e.g like logons are hard to see easily when its qmail that mainly fill the logs .

Charlie Brady

RE: Qmail-Logging level
« Reply #3 on: February 19, 2000, 05:34:45 PM »
Patrik wrote:

> No its just that relevant info e.g like logons are hard to see
> easily when its qmail that mainly fill the logs .

AH, it's not qmail logging that you are talking about, it is tcpd logging of qmail-smtpd connections. If you wish to see a filtered view of the log file, you should use sed or grep. For instance:

sed /qmail-smtpd/d /var/log/secure | less

will show you that log file with no qmail-smtpd related entries.

Regards

Charlie