[Zope3-Users] Re: zope.conf: Accesslog handler not registered?
Philipp von Weitershausen
philipp at weitershausen.de
Wed Jun 18 22:21:41 EDT 2008
Exactly the right solution :).
Alek wrote:
> 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
> <mailto: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.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
More information about the Zope3-users
mailing list