Koozali.org: home of the SME Server

Clearing the log

BSD

Clearing the log
« on: April 15, 2003, 02:31:16 AM »
Does anyone know how I would go about clearing the log messages from server manager. Is there away it is important that I find away thanks.

BSD

Re: Clearing the log
« Reply #1 on: April 19, 2003, 12:38:06 AM »
guess either no one knows or to busy to reply but I need to know how so if anyone knows please help me thx.

Dan Brown

Re: Clearing the log
« Reply #2 on: April 19, 2003, 12:42:50 AM »
The answer is that you don't.  The system rotates the logs weekly, and only keeps the last 4 weeks, IIRC.

JeffC

Re: Clearing the log
« Reply #3 on: April 22, 2003, 06:36:23 PM »
From the command line....

# echo > /var/log/messages

will clear the current log.

-jeff