[Zope3-Users] Re: zope.conf: Accesslog handler not registered?

Alek thealx at poczta.onet.pl
Wed Jun 18 14:02:09 EDT 2008


I found a solution at http://wiki.pylonshq.com/display/pylonsdocs/Logging
Zope is now using Paste and I guess I should forget about <accesslog> in
zope.conf.
I found I can use paste's accesslog facility, called TransLogger, instead of
<accesslog>.
To enable it, just add the following lines to your deploy.ini file.

[app:main]
filter-with = translogger

[filter:translogger]
use = egg:Paste#translogger
setup_console_handler = False

Warm regards,
Alek.

On Tue, Jun 17, 2008 at 11:57 PM, Alek <thealx at poczta.onet.pl> wrote:

> Hi,
> I just tried to add <accesslog> tag to my zope.conf
> But when I had run zope, I've got only the following error:
>
> Error: unknown type name: 'accesslog'
>
> I used zopeproject 0.4.1 to create my project. It seems that accesslog has
> not been registered but I don't know why and how to correct this.
> I've found no similar case on google. Any suggestions?
>
> Warm regards,
> Alek.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20080618/5b3925bb/attachment.html


More information about the Zope3-users mailing list