Hi,
Redhat 6.1 Running apache with custom logs:
analog: analog version 4.11/Unix
I am having problems setting the correct logformat:
I usually use a combined standard apache logformat but this server has custom
logs:
Can anyone help me with the logformat syntax:
Heres a snip from my httpd.conf- error transcript at the bottom- thanks in
advance
####httpd conf######
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%h %l %u %t \"%r\" %s %b %v \"%{Referer}i\" \"%{User-agent}i\"
\"%{Cookie}n\"" wusage
LogFormat "%h %l %u %t \"%r\" %s %b %v \"%{Referer}i\" \"%{User-agent}i\"
\"%{Cookie}n\""
analog: Warning M: Logfile /var/log/httpd/cpfc.org.access_log contains
lines
with no bytes: byte counts may be low
(For help on all errors and warnings, see docs/errors.html)
analog: Warning L: Large number of corrupt lines in
logfile
/var/log/httpd/cpfc.org.access_log: try different LOGFORMAT
Current logfile format:
%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b\n
%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b\n
%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b\n
%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f"
"%B"\n
%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
[%d/%M/%Y:%h:%n:%j] %F -> %r\n
%F -> %r\n
This E-Mail must not be copied, disclosed or used by any person
other than the addressee(s) named above.
Securicor Management Services Limited
Registered Office:
Sutton Park House,
15 Carshalton Road,
Sutton,
Surrey SM1 4LD.
Registered in England No: 835411
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------