[Zope] Re: raw trace log format

2006-02-03 Thread Florent Guillaume
It's the size of the POST, and 0 for a GET. Basically the size of received 
data (appart from the request headers).


Florent

Dennis Allison wrote:
I gleened what I could from the requestrofiler code, but teh 
meaning of the desc field for I is not described in the comments.
A quick check of the code did not help either.  



On Thu, 2 Feb 2006, Tres Seaver wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dennis Allison wrote:
generally it's 


code id fromepoch desc

The desc field is

B   request (e.g. 'GET /')
I   ???
A   status_code bytes
E

The desc for E is normally empty.  The desc for I is usually 0 
or a small integer.  Google could not help me find a definition 
for the desc value associated with I.  Can someone assist?

I'd suggest looking at '$SOFTWARE_HOME/utilities/requestprofiler.py',
which is a tool for reporting against that log file.



--
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
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] Re: raw trace log format

2006-02-02 Thread Chris McDonough

This little bit of code has some clues:

def put(self, code, t, desc):
if code not in ('A', 'B', 'I', 'E'):
raise "unknown request code %s" % code
if code == 'B':
self.start = t
self.method, self.url = desc.strip().split()
elif code == "I":
self.t_recdinput = t
self.isize = desc.strip()
elif code == "A":
self.t_recdoutput = t
self.httpcode, self.osize = desc.strip().split()
elif code == 'E':
self.t_end = t
self.elapsed = int(self.t_end - self.start)

B  = beginning request handling
I  = finished receiving input from the client
A  = finished receiving output from Zope's publisher
E  = request handling ended

- C


On Feb 2, 2006, at 4:20 PM, Dennis Allison wrote:



I gleened what I could from the requestrofiler code, but teh
meaning of the desc field for I is not described in the comments.
A quick check of the code did not help either.


On Thu, 2 Feb 2006, Tres Seaver wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dennis Allison wrote:

generally it's

code id fromepoch desc

The desc field is

B   request (e.g. 'GET /')
I   ???
A   status_code bytes
E

The desc for E is normally empty.  The desc for I is usually 0
or a small integer.  Google could not help me find a definition
for the desc value associated with I.  Can someone assist?


I'd suggest looking at '$SOFTWARE_HOME/utilities/requestprofiler.py',
which is a tool for reporting against that log file.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD4nWO+gerLs4ltQ4RAgdsAJwNaju4xcFLPfo2gBBfaJPjLAiW2QCeM9Cs
/hfulGb5xV0UZIH04m24d2c=
=8grz
-END PGP SIGNATURE-

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



--

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



___
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] Re: raw trace log format

2006-02-02 Thread Dennis Allison

I gleened what I could from the requestrofiler code, but teh 
meaning of the desc field for I is not described in the comments.
A quick check of the code did not help either.  


On Thu, 2 Feb 2006, Tres Seaver wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Dennis Allison wrote:
> > generally it's 
> > 
> > code id fromepoch desc
> > 
> > The desc field is
> > 
> > B   request (e.g. 'GET /')
> > I   ???
> > A   status_code bytes
> > E
> > 
> > The desc for E is normally empty.  The desc for I is usually 0 
> > or a small integer.  Google could not help me find a definition 
> > for the desc value associated with I.  Can someone assist?
> 
> I'd suggest looking at '$SOFTWARE_HOME/utilities/requestprofiler.py',
> which is a tool for reporting against that log file.
> 
> 
> Tres.
> - --
> ===
> Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
> Palladion Software   "Excellence by Design"http://palladion.com
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFD4nWO+gerLs4ltQ4RAgdsAJwNaju4xcFLPfo2gBBfaJPjLAiW2QCeM9Cs
> /hfulGb5xV0UZIH04m24d2c=
> =8grz
> -END PGP SIGNATURE-
> 
> ___
> 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 )
> 

-- 

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


[Zope] Re: raw trace log format

2006-02-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dennis Allison wrote:
> generally it's 
> 
>   code id fromepoch desc
> 
> The desc field is
> 
>   B   request (e.g. 'GET /')
>   I   ???
>   A   status_code bytes
>   E
> 
> The desc for E is normally empty.  The desc for I is usually 0 
> or a small integer.  Google could not help me find a definition 
> for the desc value associated with I.  Can someone assist?

I'd suggest looking at '$SOFTWARE_HOME/utilities/requestprofiler.py',
which is a tool for reporting against that log file.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD4nWO+gerLs4ltQ4RAgdsAJwNaju4xcFLPfo2gBBfaJPjLAiW2QCeM9Cs
/hfulGb5xV0UZIH04m24d2c=
=8grz
-END PGP SIGNATURE-

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