selective appender instantiation

2005-02-03 Thread Andrew Eells
hello,   from a single log4j configuration file, does anyone know if it is possible to instantiate only selected appenders using the DOMConfigurator, as opposed to all those listed ?   thanks and regards,   andrew       _

RE: Filtering out data while logging.

2005-02-03 Thread Ceki Gülcü
Another possibly better way to address this problem is through a custom ObjectRenderer. At 05:09 PM 2/2/2005, OOMS DIRK wrote: I would put AccountNo, SecretCode, etc in MDC key-value pairs and apply an appropriate PatternLayout that leaves out the MDC fields you don't want to show. dirk > -Or

chainsaw-LogFilePatternReceiver

2005-02-03 Thread Jean-Marie Hénaff
Hi, I am new to Log4J and chainsaw, and there is something I can't make work. I managed to make my logger use the console appender, the log file appender, and the xml appender. I can visualize my XML file with chainsaw, but I would like to use a LogFilePatternReceiver, so I won't have

chainsaw-LogFilePatternReceiver

2005-02-03 Thread CAGATAY TUNALI
Return Receipt Your chainsaw-LogFilePatternReceiver document :

RE: chainsaw-LogFilePatternReceiver

2005-02-03 Thread Jitendra Kharche
Hi, I am also new to using Chainsaw, infact I studied it yesterday and using it to view my log file. What I guess is that you have given the logFormat information in a wrong way. You are supposed to write the logFormat in KEYWORDS and not as you have written in your properties file. In other

How to use DBAppender, hsqldb.sql issues

2005-02-03 Thread Evans Mark-PT1167
I figured out how to programmatically create a DBAppender and write log messages to a database. See the sample code (far) below. In a nutshell, I had to get the DBPerfTest() working first. Then I worked to get the programmatic version working. Who knew you had to call activateOptions() on th

RE: How to use DBAppender, hsqldb.sql issues

2005-02-03 Thread Korver, Aaron
This is how we solved appending to a DB. We send a JMS message to a topic. Then have a Message Bean listen to the topic and the bean inserts the logging statement into the database. The bean also resends the message out for anything configured for the bean (Chainsaw in particular only is setup to

Question about appender

2005-02-03 Thread Seshachala, Sudhendra B
We have an windows GUI tool hosted in IIS. The users basically use the JNLP to download the tool and use the tool. We do log the meesages to a file. Now, if I switch the file appender to console, then I don't see if the console popping up or any console messages. Are there any alternative appenders

Re: Question about appender

2005-02-03 Thread Curt Arnold
I'm not sure if I understand the situation, but it might be a case where you would want to use the OutputDebugStringAppender (which calls the Win32 method of the same name). The messages sent to this appender will be viewed by any attached debugger. DebugView (http://www.sysinternals.com/ntw2