On Jan 30, 2008, at 12:28 PM, Jens Vagelpohl wrote:


On Jan 30, 2008, at 18:17 , Tom Von Lahndorff wrote:

Can <instance>/log/Z2.log be deleted? On restart is fresh file created?

Yup.


Also, is max-bytes supported for logfiles in zope.conf?

What's that?

Saw it referenced here:
http://blogs.sistes.net/Garito/568

<logger access>
  level WARN
  #<logfile>
  #  path $INSTANCE/log/Z2.log
  #  format %(message)s
  #</logfile>
  <rotatelogfile>
    path $INSTANCE/log/Z2.log
    format %(message)s
    max-bytes 5MB
    compression zip
    backup-count 0
  </rotatelogfile>
</logger>



jens



_______________________________________________
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 )

_______________________________________________
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 )

Reply via email to