hello, I am new to Zope and I have a small problem with it. I would like to customize the log file Z2.log, like to add the time taken to process a request or other similar parameters from Apache. I did not find in zope.conf a directive for it....where should I add it? Many thanks for any hint, Daniel G __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--On 26. Mai 2006 12:42:39 -0400 Daniel G <dagriq@yahoo.ca> wrote:
hello,
I am new to Zope and I have a small problem with it. I would like to customize the log file Z2.log, like to add the time taken to process a request or other similar parameters from Apache.
I did not find in zope.conf a directive for it....where should I add it?
The Z2.log is a CLF compliant log. Therefore there is little need to make it configurable in some way. You might look at the 'trace' logger (look through etc/zope.conf). -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting
hello, thanks for the hint. I have read few documents about the tracer 'logger' but I did not see the possibility to add/remove some symbols in order to add/remove some data from the tracer. Could you send me some URLs where I could find some examples and/or documentation? Many thanks, Daniel G --- Andreas Jung <lists@zopyx.com> wrote:
--On 26. Mai 2006 12:42:39 -0400 Daniel G <dagriq@yahoo.ca> wrote:
hello,
I am new to Zope and I have a small problem with
it. I
would like to customize the log file Z2.log, like to add the time taken to process a request or other similar parameters from Apache.
I did not find in zope.conf a directive for it....where should I add it?
The Z2.log is a CLF compliant log. Therefore there is little need to make it configurable in some way. You might look at the 'trace' logger (look through etc/zope.conf).
-aj
-- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--On 26. Mai 2006 14:39:26 -0400 Daniel G <dagriq@yahoo.ca> wrote:
hello,
thanks for the hint. I have read few documents about the tracer 'logger' but I did not see the possibility to add/remove some symbols in order to add/remove some data from the tracer.
Could you send me some URLs where I could find some examples and/or documentation?
There is no configuration other than patching the sources. -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting
Daniel G wrote at 2006-5-26 12:42 -0400:
I am new to Zope and I have a small problem with it. I would like to customize the log file Z2.log, like to add the time taken to process a request or other similar parameters from Apache.
Maybe, you put Apache in front of Zope and use its "access" log? Zope's "Z2.log" does only allow minimal configuration. -- Dieter
participants (3)
-
Andreas Jung -
Daniel G -
Dieter Maurer