Hello list,

In order to obtain more information from the AccessLogValve logger, I
use this parameter:

pattern="%a (%B bytes/%D msec) %s %r"

The trouble is that it shows pretty much all the time -1 as the number
of bytes delivered. It does send a positive number of bytes, however,
when the content delivered is a GIF file (the application uses
multiple domains and each domain has its logo). Weird.

Tomcat is version 5.0.27. Is this a known bug fixed by a more recent version?

While I'm at it, I have two more questions about the valve:

1. what if I DON'T want any log rotation from Tomcat itself but leave
it to logrotate? Will setting timeFormat to a void string do the
trick? I also don't see an option to take only a filename to log to,
only a prefix and suffix... Does a plain filename option exist that is
hidden even from the Tomcat docs on apache.org?
2. does the %t pattern specifier accept the Apache {} extension, such
as %{%Y%m%d,%H:%M:%S}t which I use for my Apache logs?

Thanks,
--
Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980
"When it comes to performance, weight is everything" - Tiff Needell

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to