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

André,

On 5/12/2011 9:49 AM, André Warnier wrote:
> Hi.
> I am am no log4j or java guru, but
> 
> Petr Hracek wrote:
> ...
> 
>> When I have inserted in log4j.properties file logging then in
>> catalina.out is not mentioned any output.
>> linux:/srv/www/tomcat5/base/webapps/vjdbc/WEB-INF # cat
>> /usr/share/tomcat5/common/classes/log4j.properties
>> log4j.logger.de.simplicit.vjdbc=DEBUG, A1
> 
> should that not simply be
> 
> log4j.logger.vjdbc=DEBUG, A1
> 
> (the name of the webapp, not the servlet class) ?

Naw, log4j loggers can use naming convention, but it's typical to use
class name (or package name, etc.) to define loggers and provide
configuration for them.

It probably has nothing to do with the problem, though the OP gave
virtually no details whatsoever about the problem other than stating
that "it doesn't work". :(

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

iEYEARECAAYFAk3MTX0ACgkQ9CaO5/Lv0PAZhgCaAzR1+BFQj+p4KY8JVPliEIot
Uy8AoJigu8mPz5hfj0+zV5ferPtbhNGe
=MOGs
-----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