--On 15. August 2006 10:23:18 -0400 [EMAIL PROTECTED] wrote:
-rw-r--r-- 1 tick wheel0 Aug 15 14:15 Z2.log
-rw-r--r-- 1 tick wheel0 Aug 15 13:36 event.log
Same as before I touched it. Did I do something wrong? Or am I just being
impatient?
No impatient but you should do your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 15 Aug 2006, at 10:23, [EMAIL PROTECTED] wrote:
Hi;
I just took over managing my own server. The Z2.log files were
enormous, so as a quick fix (before creating a rotation cron job) I
created a new file and moved it to Z2.log Everything was
The log rotation process is simple. Rename the logs to whatever
name you want to use for archival purposes. Then (assuming you are
using the usual setup and zopectl:
# zopectl logreopen
which will close and reopen the logs.
The behavior you observed is exactly the Unix behavior that
Jens Vagelpohl wrote:
You cannot just move a log file to the side, create a new one and
expect that the still-running process now uses the new file. You must
tell the running application that the file has been moved. zopectl
logreopen will do that, or a restart.
Thanks to both who responded.