Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 22:08:02 -0500
From:      Christopher Schulte <schulte+freebsd@nospam.schulte.org>
To:        "Grant Cooper" <grant.cooper@nucleus.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: log files
Message-ID:  <5.1.1.6.2.20020721220607.02a465f0@pop3s.schulte.org>
In-Reply-To: <009901c2312c$b5c6ec70$2afececd@TCOOPER>
References:  <200207212214.g6LMEQxc000099@labs.unixhideout.com> <000001c23109$09c55830$0a01a8c0@athlon> <20020722024119.GA2730@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
At 09:06 PM 7/21/2002 -0600, Grant Cooper wrote:
>I think I made a boo boo. I deleted all the files from var/log thinking I
>would have clean logs. Well, I rebooted but some of the files never
>reapeared. I made a back up just in case.
>
>Can I expect any problems in the future?

You should touch all of the files, else syslog won't log to them when it is 
restarted.

>What is the best way to start off with new logs - I'm experimenting with
>different things? Thus, trying to get more in touch with my new friend. Some
>of the files reappeared. In general is this a good way of starting off from
>fresh?

newsyslog(8) is designed to rotate your system logs.  Man it and see.

--
Christopher Schulte
http://www.schulte.org/
Do not un-munge my @nospam.schulte.org
email address.  This address is valid.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.2.20020721220607.02a465f0>