[Zope] Log Files Not Logging

2006-08-15 Thread zope
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 same except the owner was root, so I chowned it over and made it the same as before I cleared off

Re: [Zope] Log Files Not Logging

2006-08-15 Thread Andreas Jung
--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

Re: [Zope] Log Files Not Logging

2006-08-15 Thread Jens Vagelpohl
-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

Re: [Zope] Log Files Not Logging

2006-08-15 Thread Dennis Allison
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

Re: [Zope] Log Files Not Logging

2006-08-15 Thread zope
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.