Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: BSD on April 15, 2003, 02:31:16 AM

Title: Clearing the log
Post by: BSD 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.
Title: Re: Clearing the log
Post by: BSD 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.
Title: Re: Clearing the log
Post by: Dan Brown 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.
Title: Re: Clearing the log
Post by: JeffC on April 22, 2003, 06:36:23 PM
From the command line....

# echo > /var/log/messages

will clear the current log.

-jeff