[Zope] Z2.log question
Hi What environment or REQUEST variable is used for the Z2.log as the username? We are using Zope 2.7 and since we have switched to XUF (w cookies), the Z2.log does not record the username for a request any longer. Or more precise, it displays any user logged in via a XUF user folder as "Anonymous". How can I tell Zope my user's name, so that it gets into the Z2.log? DR ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Z2 Log question
Stuart Foster writes: > I was looking at my Z2 log and notice an entry that repeats itself over > and over and was wondering if anyone could tell me how to trace it down. > > The message is > > [20/Nov/2000:13:00:11 -0700] "HEAD /opnix/portal HTTP/1.0" 401 1906 "" > "" > [20/Nov/2000:13:00:17 -0700] "HEAD /opnix/portal HTTP/1.0" 401 1906 "" > "" > > and as you can see it happens about every 5-6 seconds and there are many > entries for it. > > Where would I start to back track this. > We are running Zope behind Apache using proxy pass. Someone repeats the HEAD HTTP request. Look at the Apache log. You should see there similar requests. The first component in each log line is the the hostname or its internet address from where the request came (may be a proxy). Maybe, this information gives you a hint about the requests origin. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Z2 Log question
I was looking at my Z2 log and notice an entry that repeats itself over and over and was wondering if anyone could tell me how to trace it down. The message is [20/Nov/2000:13:00:11 -0700] "HEAD /opnix/portal HTTP/1.0" 401 1906 "" "" [20/Nov/2000:13:00:17 -0700] "HEAD /opnix/portal HTTP/1.0" 401 1906 "" "" and as you can see it happens about every 5-6 seconds and there are many entries for it. Where would I start to back track this. We are running Zope behind Apache using proxy pass. Any thoughts. TIA Stuart ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Z2.log question
The classic unix trick for emptying a open file is cp /dev/null Z2.log On Thu, 19 Oct 2000, George Osvald wrote: > Can I safely delete Z2.log file and replace it with an empty one? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Z2.log question
Sure. Stop Zope. Erase Z2.log (or tar, move it) and restart Zope. It should start a new one. If not you might have to touch it. J At 8:18 PM +1000 10/19/2000, George Osvald wrote: >Can I safely delete Z2.log file and replace it with an empty one? It is >getting quite big and it seems to me like a waste of space. I downloaded the >existing version for reference. > >Regards, > >George > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Z2.log question
Can I safely delete Z2.log file and replace it with an empty one? It is getting quite big and it seems to me like a waste of space. I downloaded the existing version for reference. Regards, George ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )