Z2.log and apache log files
Hi. Most of us use Apache in front of Medusa for reasons that heve been fully discussed a lot of times. In my case i handle sites in Zope using Apache virtual host capability combined with Zope Virtual Host Monster, so i can get separate log files for each vhost. In this situation, does it make sense to also keep Z2.log growing more and more? TIA Paolo
On Tuesday, Oct 21, 2003, at 05:31 US/Eastern, Paolo Dina wrote:
Hi. Most of us use Apache in front of Medusa for reasons that heve been fully discussed a lot of times. In my case i handle sites in Zope using Apache virtual host capability combined with Zope Virtual Host Monster, so i can get separate log files for each vhost.
In this situation, does it make sense to also keep Z2.log growing more and more?
You are aware that you can rotate Z2.log, just like apache logs, right? jens
I too use Apache for just that reason. I rotate my Apache logs, but have been hesitant to rotate the Zope logs with logrotate (linux/Zope 2.6.2). I suppose you could just shut down the Zope logs, if they are not giving you any information that the Apache ones are not. I use my Zope logs to show activity over all sites. Jake -- http://www.ZopeZone.com Paolo Dina said:
Hi. Most of us use Apache in front of Medusa for reasons that heve been fully discussed a lot of times. In my case i handle sites in Zope using Apache virtual host capability combined with Zope Virtual Host Monster, so i can get separate log files for each vhost.
In this situation, does it make sense to also keep Z2.log growing more and more?
TIA Paolo
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Tuesday, Oct 21, 2003, at 08:29 US/Eastern, Jake (aka BZ) wrote:
I too use Apache for just that reason.
I rotate my Apache logs, but have been hesitant to rotate the Zope logs with logrotate (linux/Zope 2.6.2).
There is no reason to be hesitant about rotating Zope logs for Zope 2.6-based setups on most platforms. Let logrotate put the logs aside and call SIGUSR2 on the main Zope PID (the one that gets written into the pidfile) - works like a charm. jens
Jake (aka BZ) wrote: [cut]
I suppose you could just shut down the Zope logs, if they are not giving you any information that the Apache ones are not. I use my Zope logs to show activity over all sites.
Ok, i want to disable logging at all. Running zope with -l /dev/null could be a solution? (even if in this case the logging system still runs!) Anyone? Paolo
participants (4)
-
Andreas Jung -
Jake (aka BZ) -
Jens Vagelpohl -
Paolo Dina