configure messages (newbie)

2006-07-12 Thread Braumüller , Hans
Hello, is there a way to configure in the log4j.properties where my messages_*.properties lies, which now i have tell by my proramm ? MESSAGES_RESBUNDLE = lib/messages; Thanks, Hans Braumüller Licenciado en Artes Plásticas Systementwicklung Hanse Orga AG Oldesloer Straße 63 D-22457

Re: configure messages (newbie)

2006-07-12 Thread James Stauffer
You can give an absolute or relative path in the properties file. On 7/12/06, Braumüller, Hans [EMAIL PROTECTED] wrote: Hello, is there a way to configure in the log4j.properties where my messages_*.properties lies, which now i have tell by my proramm ? MESSAGES_RESBUNDLE = lib/messages;

Re: Filtering out data while logging

2006-07-12 Thread Bender Heri
I would chose the approach by a self written renderer, which is configured like this: renderer renderedClass=ch.ergonomics.pms.common.supervision.MessageLogger renderingClass=ch.ergonomics.pms.common.supervision.MessageLogger/ The rendering class is your self written renderer which

Re: configure messages (newbie)

2006-07-12 Thread Braumüller , Hans
Hello, thanks, but how ?? log4j.appender.XML.?? I cannot find anything in the FAQ or Google. Greetings from Hamburg, Hans You can give an absolute or relative path in the properties file. On 7/12/06, Braumüller, Hans [EMAIL PROTECTED] wrote: Hello, is there a way to configure in

Re: configure messages (newbie)

2006-07-12 Thread James Stauffer
Do you have a properties file already? If yes the post it. In no then look at the examples under the Configuration section of http://logging.apache.org/log4j/docs/manual.html On 7/12/06, Braumüller, Hans [EMAIL PROTECTED] wrote: Hello, thanks, but how ?? log4j.appender.XML.?? I cannot

Programmatic threshold change

2006-07-12 Thread Sharma, Siddharth
Greetings In log4j.xml, we have set the threshold to be 'INFO'. We have written a servlet that takes the log level as a parameter and dynamically changes log4j's log level. This is to facilitate bumping the log level up on-demand when an exception occurs to capture more information. Here is the

Re: Programmatic threshold change

2006-07-12 Thread James Stauffer
You may want to look into LogWeb (http://www.codeczar.com/products/logweb/index.html) to see if that meets your needs or gives you clues. On 7/12/06, Sharma, Siddharth [EMAIL PROTECTED] wrote: Greetings In log4j.xml, we have set the threshold to be 'INFO'. We have written a servlet that takes

RE: Programmatic threshold change

2006-07-12 Thread Sharma, Siddharth
Thanks. I've looked at logweb and I'd rather not use it. Seems too bulky for this one little thing that we need. Plus we're not a struts based app. So do not want to add a whole new framework for this. And the other possibility is a whole new webapp which seems like an unnecessary overhead as

Re: Programmatic threshold change

2006-07-12 Thread Curt Arnold
On Jul 12, 2006, at 12:20 PM, Sharma, Siddharth wrote: Greetings In log4j.xml, we have set the threshold to be 'INFO'. We have written a servlet that takes the log level as a parameter and dynamically changes log4j's log level. This is to facilitate bumping the log level up on-demand when an

RE: Programmatic threshold change

2006-07-12 Thread Sharma, Siddharth
Curt, I did what you recommended and it worked perfectly. Thanks a bunch. Except when I added the hierarchy wide threshold to log4j.xml as INFO (in caps), it started printing the following warnings in the log (but bizarrely it worked as expected): log4j:WARN Continuable parsing error 12 and

chainsaw with logj-1.3-alpha8

2006-07-12 Thread Ricardo Trindade
Hi, I'm trying chainsaw with the ZeroConf appender in logj4-1.3-alpha8, and it doesn't seem to work. I get : java.lang.NoSuchMethodError: org.apache.log4j.spi.ComponentBase.access$301(Lorg/apache/log4j/net/SocketHubAppender;)Lorg/apache/log4j/ULogger; thanks, Ricardo

Re: chainsaw with logj-1.3-alpha8

2006-07-12 Thread Paul Smith
On 13/07/2006, at 5:02 AM, Ricardo Trindade wrote: Hi, I'm trying chainsaw with the ZeroConf appender in logj4-1.3- alpha8, and it doesn't seem to work. I get : java.lang.NoSuchMethodError: org.apache.log4j.spi.ComponentBase.access$301(Lorg/apache/log4j/net/