> Is there any online documentation that explains about the log files here
> and how to treat these log files? Specifically wtmp? I'm wondering if
> it's safe to delete it any/all of these from time to time. "man wtmp"
> said certain processes use wtmp but intimated that I could delete it and
> there'd only be no more logging. The file's getting big and it's not in
> text form. That's the largest file by far, but other ones are getting
> bloated. I looked at the SAG but didn't find anything specific. It said
> most of these files grow indefinitely, and may require cleaning, not which
> ones can or can't be safely removed.
it if you aren't interested in this information. After this you can create this
file and the logging of this informations go on.
The other log files work analogue. The main file is usually /var/log/messages.
Here it is a little more complicated to cut the file. One method to reduce this
is like this:
cp /var/log/messages /var/log/messages.old
cp /dev/null /var/log/messages
This reduces the length of messages to zero. The logging still goes on. The old file
messages.old can be removed (after inspection) or you can gzip it to reduce the
size. You can do this with all files used by syslogd. To see which files the daemon
uses look at