I found a solution at <a href="http://wiki.pylonshq.com/display/pylonsdocs/Logging">http://wiki.pylonshq.com/display/pylonsdocs/Logging</a> <br>Zope is now using Paste and I guess I should forget about <accesslog> in zope.conf.<br>
I found I can use paste's accesslog facility, called TransLogger, instead of <accesslog>.<br>To enable it, just add the following lines to your deploy.ini file.<br><pre><span class="na">[app:main]<br>filter-with</span> <span class="o">=</span> <span class="s">translogger</span><br>
<br><span class="k">[filter:translogger]</span><br><span class="na">use</span> <span class="o">=</span> <span class="s">egg:Paste#translogger</span><br><span class="na">setup_console_handler</span> <span class="o">=</span> <span class="s">False</span><br>
</pre>Warm regards,<br>Alek.<br>
<br><div class="gmail_quote">On Tue, Jun 17, 2008 at 11:57 PM, Alek <<a href="mailto:thealx@poczta.onet.pl">thealx@poczta.onet.pl</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>I just tried to add <accesslog> tag to my zope.conf<br>But when I had run zope, I've got only the following error:<br><br>Error: unknown type name: 'accesslog'<br><br>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.<br>
I've found no similar case on google. Any suggestions?<br><br>Warm regards,<br><font color="#888888">Alek.<br>
</font></blockquote></div><br>