RE: TR : A error message with JdbcAppender

2005-06-05 Thread Raoul OPPLIGER
Hi Andreas For your information: operating system: windows XP java: 1.4.2_04 log4j: logging-log4j-1.2.9 I don't really understand why there's a problem with the CLASSPATH because I use the database to construct the configuration file. Rega

Re: Newbie Question

2005-06-05 Thread Jacob Kjome
You have everything right except for the ".*". You are mixing Log4j concepts with Java import concepts. Try... log4j.logger.net.sf.ehcache=ERROR, stdout. Jake At 11:54 PM 6/5/2005 -0400, you wrote: >Hi > >I would like to know how do I set the logger for all classes inside a >package. I wo

Re: Newbie Question

2005-06-05 Thread Paul Smith
remove the '.*' and you're done. all child packages and classes (it's all really Strings rather than explicit classes/packages) will inherit this setting. cheers, Paul Smith On 06/06/2005, at 1:54 PM, Néstor Boscán wrote: Hi I would like to know how do I set the logger for all classes in

Newbie Question

2005-06-05 Thread Néstor Boscán
Hi I would like to know how do I set the logger for all classes inside a package. I would like to do something like this: log4j.logger.net.sf.ehcache.* = ERROR, stdout. Regards, Néstor Boscán

Re: TR : A error message with JdbcAppender

2005-06-05 Thread Andreas Fester
Hi Raoul, just to be sure: - Which operating system are you using (I suppose some flavour of MS-Windows)? - Which java version are you using (java -version)? - Which log4j version are you using? I replaced the logger name in my test program with "system.system" and "system.monitoring" and use

TR : A error message with JdbcAppender

2005-06-05 Thread Raoul OPPLIGER
Hi Andreas, I've downloaded a recent version of mysql-connector and I've tried your attatched program. I get exactly the same error as before. I send you my configuration file (attention: logger's name is different). This file is dynamic and it is constructed with the content of a database. S