Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: jncs on November 17, 2007, 01:33:20 AM
-
Hi folks!
I want to clear my log files (all of them).
How can I do that?
The log files I meant is all the log files that I can see in Server Manager of my SME Server 7.2.
-
I want to clear my log files (all of them).
Why?
How can I do that?
There's no provision for that. You'd need to boot in single user mode, and remove the files, then reboot. But you'd be stupid to do that - the log files are there to help you.
-
I want that too. Reason? Because mail statistics are not realistic as the result of a virus (which i have remove it now).
-
Which mail statistics are you looking at? (I know of 3 ways to get mail statistics - from server-manager, from the 'qpsmtpd/state' log file, or using the 'spamfilterstats' contrib).
You can *probably* clear out all email-related stats using sv stop qpsmtpd
sv stop qmail
rm -f /var/log/qpsmtpd/*
rm -f /var/log/qmail/*
sv start qmail
sv start qpsmtpd