Lang Zhi wrote:
> >Can you send a couple of lines of your log?
> ok..
>
> i attached the sample log.
> and the syntax/format of the log according to roxen docs.
>
You syntax file appears corrupt. According to the instructions, this line
$cern_date] "$method $resource $protocol" 404 -
is missing the first half. Also, the line
*: $host - - [$cern_date] "$method $resource $protocol" $response $length
which should apply to all repsonses other than 404 or 500, is Common Log Format. The
logs you sent were not CLF, so obviously this isn't setting the format.
The logs you sent were essentially combined logformat with an extra field at the
end. Since I don't know what it is, I'll assume it's unwanted. You can use these
logformats (from the docs, combined, with an extra %j at the end) (each on one
line).
LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B" %j)
LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B" %j)
HTH,
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
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]/
------------------------------------------------------------------------