-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris,

On 6/9/2009 10:22 PM, Christopher Piggott wrote:
> I will definitely try that.  I also will consider using log4j's
> rotating file appender instead of the ConsoleAppender.  The reason I
> didn't do this in the first place is permissions: I don't normally
> have webapps that are able to write their own files.  I will have to
> think about this a little.

Yeah, log4j is /much/ more robust than what Tomcat provides out of the
box (through "JULI"). Note that you /can/ configure Tomcat to use log4j
as well, so you can kind of do both :)

I prefer log4j's rolling semantics, anyway (file is called foo.log until
it is rotated to foo-2009-06-10.log, rather than juli's behavior which
is to /always/ have the date in the file name ... that makes log
watching difficult).

There are also other options for log4j: your webapp doesn't necessarily
need to log to a file... you can log to syslog - even on another
machine: instant cluster log aggregation.

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

iEYEARECAAYFAkowGD8ACgkQ9CaO5/Lv0PDnRACfU5SBCh4A14XimktKpdSGRZbX
KRgAoJrvyNIggep7CqyN4DJOyNdMt2cF
=LhbX
-----END PGP SIGNATURE-----

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

Reply via email to