Re: /var/log/messages
* Dana J. Laude <dlaude@attbi.com> [030221 14:47]:
> On Thu, Feb 20, 2003 at 09:39:11PM -0500 or thereabouts, Richard Beri wrote:
> > My /var/log/messages and messages.0 are getting very large. messages
> > alone is almost 500 meg. Is is safe to delete these files (I don't]
> > need to read any back error messages). My syslog is also reaching 500
> > meg ais that safe to be deleted. Will they be auto-created again
>
> If you just want to "reset" the files without a backup, as root
> type in: "touch /var/log/messages". (minus the quotes and the .)
Won't that just change the access and modification time of the file?
That happens every 20 minutes anyway (-- MARK --). What else does
that achieve?
Nick.
--
Debian testing/unstable
Linux onefish 2.4.20-lavienx #1 Mon Jan 6 17:03:01 JST 2003
i686 unknown unknown GNU/Linux
Reply to: