tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [OT] log4j FileAppenders not flushing
Date Mon, 01 Dec 2008 21:48:26 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rebeccah,

Prastein, Rebeccah H wrote:
> I'm hoping someone here can help me with this; I've searched all over
> the web, and any references to FileAppenders not flushing in the log4j
> lists get the response, "not a log4j problem, must be your application."

As much as I hate to say this, you should really go over to the log4j
list and ask them. They may say it's your application, but they may also
give you some tips on how it could be your application. I'm pretty
familiar with log4j and I've never seen logging statements swallowed.
sometimes they take a few seconds to actually get flushed to the log
file, but I've never seen them stay in a buffer forever.

> Is there something in Tomcat that is intercepting these log4j calls and
> causing this buffering behavior?  Is there some way to configure it?

Have you specifically configured Tomcat to use log4j for logging? If
not, then Tomcat is probably not interfering with your logging.

- -chris

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

iEYEARECAAYFAkk0W6oACgkQ9CaO5/Lv0PDR3ACfQHtSIjnpAe4n+L6q+RO/Sx6t
PagAn2Yl95VquJrLbATbou353njFURfT
=lnSW
-----END PGP SIGNATURE-----

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


Mime
View raw message