Simple command to reset / clear all logs?

Redd Vinylene reddvinylene at gmail.com
Wed Jan 12 19:50:05 UTC 2011


Will the logs automatically create themselves? I mean, I picture I have to
manually touch a lotta them in order to avoid "cannot find" error messages?

On Wed, Jan 12, 2011 at 8:19 PM, Bernt Hansson <bernt at bah.homeip.net> wrote:

> 2011-01-12 17:04, Redd Vinylene:
>
>  Hi,
>>
>> Is there a simple command to reset / clear everything in my /var/log? I've
>> done a lot of testing, configuring, trial and error and most of my logs
>> are
>> just full of bullshit and I'd like a fresh start :-)
>>
>> Thanks!
>>
>
> Sometimes I use rm /var/log/*
>
> Use with utmost caution!
>



-- 
http://www.home.no/reddvinylene


More information about the freebsd-questions mailing list