[Zope-Coders] medusa logging featurelet

Andreas Jung Andreas Jung" <andreas@andreas-jung.com
Wed, 4 Sep 2002 10:57:36 +0200


maybe put it inside a branch since the HEAD contains the stuff for Zope 2.6
and your extension is not on the roadmap for 2.6.

-aj
----- Original Message ----- 
From: "seb bacon" <seb@jamkit.com>
To: <zope-coders@zope.org>
Sent: Wednesday, September 04, 2002 10:52
Subject: [Zope-Coders] medusa logging featurelet


> I've added configurable logging to medusa, following the same syntax as:
> 
>    http://httpd.apache.org/docs-2.0/mod/mod_log_config.html
> 
> It means you can do things like:
> 
>    Common Log Format (CLF)
>      "%h %l %u %t \"%r\" %>s %b"
>    Common Log Format with Virtual Host
>      "%v %h %l %u %t \"%r\" %>s %b"
>    NCSA extended/combined log format
>      "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
>    Referer log format
>      "%{Referer}i -> %U"
>    Agent (Browser) log format
>      "%{User-agent}i"
> 
> 1) Shall I stick it in the head?
> 2) Where should the format string be defined?  An environment variable 
> in the start script?  Somewhere else?  Currently it's hard coded into 
> the CustomLogger module.
> 3) Hmm, CustomLogger is not a good name.  MedusaLogConfig?
> 
> Seb
> 
> 
> 
> 
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders
>