tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: mod_jk: question regarding log-format
Date Fri, 15 May 2009 16:18:47 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gregor,

On 5/15/2009 11:59 AM, Gregor Schneider wrote:
> however, in the docs
> (http://tomcat.apache.org/connectors-doc/reference/printer/apache.html)
> i can't find what %a and %b mean.

Read more closely:

"
The Tomcat Connector module date log format, using an extended strftime
syntax.
"

Just look at the man page for strftime to find out what all the
%-thingys mean. If you don't have the man page handy, you can read one
online: http://www.manpagez.com/man/3/strftime/

> I presume that %a tells me the ip-adress and that %b are the bytes,
> however, i'd really like to read it up somewhere.

%a is documented to be the "abbreviated weekday name" while %b is
documented to be the "abbreviated month name".

It's possible that the documentation is wrong and that Apache's log
formatting options are in effect:

http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

I would look at your log file relative to the configured log format to
see which one is being used. If the documentation is wrong, please
notify Rainer or Mladen so they can correct it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkoNlecACgkQ9CaO5/Lv0PBi/gCfaFlpQDuGqr4ngoQZggWbOGLC
oH4AoJtp1PFiFq1RFImzOilneU+xFZl2
=ft9e
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message