I'm trying to analyze Apache logs with the following format:
APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
\"%{SSL_PROTOCOL}x:%{SSL_CIPHER}x:%{SSL_SESSION_ID}x\" %D %T \"%{Cookie}i\" %v)
Analog's debug tells me that one item occurs twice in the translated format of:
LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"
"%j:%j:%j" %D %t "%j" %v)
The only thing that seemed to be duplicated were the %D and %t fields so I
replaced %t with %j and re-ran with the new LOGFORMAT. Analog now runs but the
error file soon starts to fill up and every single line of the log is marked as
corrupt. No matter what I try I don't seem to be able to read these logs.
Can anyone tell me what I'm doing wrong please?
John
________________________________
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. No one else is authorised to distribute, forward,
print, copy or act upon any information contained in this email.
If you have received this email in error, please notify the sender.
Hiscox Syndicates Limited, Hiscox Insurance Company Limited,
Hiscox Underwriting Limited and Hiscox Investment Management
Limited are authorised and regulated by the Financial
Services Authority. Hiscox plc is a company registered in England
and Wales under company registration number 2837811 and registered
office at 1 Great St Helen's, London EC3A 6HX
**********************************************************************
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------