Re: [Zope] log file.

2001-01-11 Thread Andy McKay

Its not the same as IIS, but that is nowhere near a common format :) Its
relatively trival to hack the log file format if you are comfortable with
hacking the Zope source.
--
  Andy McKay.


- Original Message -
From: "Dennis Nichols" <[EMAIL PROTECTED]>
To: "Jason C. Leach" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 7:03 AM
Subject: Re: [Zope] log file.


> At 1/11/01 12:25 PM, Oleg Broytmann wrote:
> >On Wed, 10 Jan 2001, Jason C. Leach wrote:
> > > Is the Zope log file in Common Log File Format?
> >
> >Yes. You can run every standard log files analyzer on it.
>
> Using analog (http://analog.cx) against my Zope 2.2.2 logs, I found that
> the standard analog definition of the Common Log File Format didn't
exactly
> match the Z2.log format. Specifically, Zope produces a host address
> followed by a colon, which confused a few of analog's reports. I currently
> use the following in my analog.cfg file...
>
> LOGFORMAT (%S: %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B")
> LOGFORMAT (%S: %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B")
>
>
>
> --
> Dennis Nichols
> [EMAIL PROTECTED]
>
>
> ___
> 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 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] log file.

2001-01-11 Thread Dennis Nichols

At 1/11/01 12:25 PM, Oleg Broytmann wrote:
>On Wed, 10 Jan 2001, Jason C. Leach wrote:
> > Is the Zope log file in Common Log File Format?
>
>Yes. You can run every standard log files analyzer on it.

Using analog (http://analog.cx) against my Zope 2.2.2 logs, I found that 
the standard analog definition of the Common Log File Format didn't exactly 
match the Z2.log format. Specifically, Zope produces a host address 
followed by a colon, which confused a few of analog's reports. I currently 
use the following in my analog.cfg file...

LOGFORMAT (%S: %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B")
LOGFORMAT (%S: %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B")



--
Dennis Nichols
[EMAIL PROTECTED]


___
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] log file.

2001-01-11 Thread Oleg Broytmann

On Wed, 10 Jan 2001, Jason C. Leach wrote:
> Is the Zope log file in Common Log File Format?

   Yes. You can run every standard log files analyzer on it.

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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] log file.

2001-01-11 Thread Holger Lehmann

Am Donnerstag, 11. Januar 2001 08:21 schrieben Sie:
> hi,
>
> Is the Zope log file in Common Log File Format?
>

whatever you mean by that ...
it looks to me like the one from apache and a webalizer works without any 
quirks

> j.
>
> ...
> .. Jason C. Leach
>  University College of the Cariboo.
> ...
>
>
> ___
> 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 )

-- 
---
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
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] log file.

2001-01-11 Thread Joachim Werner


> Is the Zope log file in Common Log File Format?
Yes.


___
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] Log file settings

2000-08-31 Thread Farrell, Troy

>From z2.py:

# Location of the ZServer log file. This file logs all ZServer activity.
# You may wish to create different logs for different servers. See
# medusa/logger.py for more information.
if not os.path.isabs(LOG_FILE):
LOG_PATH=os.path.join(CLIENT_HOME, LOG_FILE)
else:
LOG_PATH=LOG_FILE


I hope your python is better than mine!
Troy Farrell


-Original Message-
From: Marcus Mendes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 30, 2000 8:57 AM
To: [EMAIL PROTECTED]
Subject: [Zope] Log file settings


Hello,

How can i set options for z2.log, as what informations i want etc? I
d'ont need, for example, information about FTP at the same log file.

Thanks.

Marcus Mendes


___
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 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 )