Rory O'connor <[EMAIL PROTECTED]> (Thursday, October 16, 2003 2:37 PM):
> "duration" field has been added to iPlanet 6.0 server "flex-log" > (extended?) format in Service Pack 1. > (From the iPlanet 6.0 Service Pack 1 Release Notes in > http://docs.sun.com/source/816-6770-10/rn60sp6.html: > "Problem 544444. No Way to Log Time Server Spent Processing Requests. > Prior to SP1 there was no way to log time the server spent processing > requests. A new flex-log format variable, %duration%, has been added. > %duration% records the time in microseconds the server spent handling the > request. Statistics must be enabled for the server instance before > %duration% can be used. )..." > The header looks like this: format=%Ses->>client.ip% - %Req->vars.auth-user% [%SYSDATE%] "%Req->>reqpb.clf-request%" %Req->srvhdrs.clf-status% %Req->>srvhdrs.content-length% %duration% > In the help page on log formats the very last statement is all I can find > about Netscape extended log format: > "The extended log, Netscape log and WebSTAR log don't have any built-in > formats: analog constructs their formats from their header lines. " > This duration field apparently needs to be futher defined in LOGFORMAT with > %D as best I can tell, since it is in microseconds. Any tips on how to do > this so I can get the "Processing Time Report" to show some info? A > 500,000+ line log with duration on about every line is getting "./analog: > Warning R: Turning off empty Processing Time Report" message. Run Analog with "SETTINGS ON" and see if it tells you the LOGFORMAT it is currently using, then change the proper field to %D. If not, you can construct a manual LOGFORMAT string to match your files. See http://analog.cx/docs/logfmt.html for details on how to write this. The one you show above would match the "Common Log Format" in the docs with the addition of the %D duration field: LOGFORMAT (%S - %u [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b %D) -- Jeremy Wadsack Wadsack-Allen Digital Group +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
