tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat log files
Date Tue, 09 Nov 2010 22:17:04 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Timothy,

My CONSOLE appender was foolishly configured.

On 11/9/2010 4:35 PM, Christopher Schultz wrote:
> log4j.appender.CONSOLE=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.CONSOLE.file=${catalina.base}/logs/.
> log4j.appender.CONSOLE.encoding=UTF-8
> log4j.appender.CONSOLE.DatePattern='.'yyyy-MM-dd'.log'
> log4j.appender.CONSOLE.conversionPattern = %d [%t] %-5p %c- %m%n
> log4j.appender.CONSOLE.append=true

It should be:

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.encoding=UTF-8
log4j.appender.CONSOLE.conversionPattern = %d [%t] %-5p %c- %m%n

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

iEYEARECAAYFAkzZyGAACgkQ9CaO5/Lv0PCyGgCgvuGt1v7U86qbp4r7FwiGFHQd
89wAoKc42YxmIS7sDgPKVvDbSvHTvxZT
=6tMF
-----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