tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: JULI prefix not recognized?
Date Wed, 22 Jun 2011 22:18:50 GMT
2011/6/23 throwsCode <donmillhofer@yahoo.com>:
>
> I sure that is going to turnout to be a stupid question but I've played with
> it for two days and made no progress.  I can create a JULI handler as long
> as I don't apply a prefix, here is the logging.properties file (keeping it
> as simple as possible):
>

> Can't load log handler "1pae.org.apache.juli.FileHandler"
> java.lang.ClassNotFoundException: 1pae.org.apache.juli.FileHandler
> java.lang.ClassNotFoundException: 1pae.org.apache.juli.FileHandler
(...)
>        at java.util.logging.LogManager.loadLoggerHandlers(Unknown Source)
>        at java.util.logging.LogManager.initializeGlobalHandlers(Unknown Source)

You are using wrong LogManager.
You need to use org.apache.juli.ClassLoaderLogManager and not the default one.

See how catalina.sh does it.

Best regards,
Konstantin Kolinko

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


Mime
View raw message