inetd
, you may remove or move the log files
periodically using mv
or rm
with no effect
on the server.
The standalone daemon opens the log files once when it starts up, and
does not close them until killed. This is because the
fopen()
system call has a lot of overhead.
To rotate one of the log files, do the following:
mv
command