RE: reloading properties file

2002-05-16 Thread Collier, Mike
Take a look at the configureAndWatch method on PropertyConfigurator and/or DOMConfigurator. -Original Message- From: Liu, Mike [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 12:55 PM To: 'Log4J Users List' Subject: reloading properties file Hi, Can someone point me the right d

RE: logging an xml document

2002-04-04 Thread Collier, Mike
You could set your Appender to use XMLLayout for the layout. -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 4:24 PM To: Log4J Users List Subject: logging an xml document Hi; I want to log an xml Document. Is there any simple way to do t

RE: Bug??

2002-04-01 Thread Collier, Mike
I think you need to set the additivity flag. Take a look at the JavaDoc for Category. -Original Message- From: Dharanendra S. Pandit [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 7:28 AM To: [EMAIL PROTECTED] Subject: Bug?? Hi *.*, I'm facing a strange problem. I ha

RE: Doubt

2002-04-01 Thread Collier, Mike
I do not believe there is a way to specify a ConversionPattern for HTMLLayout. The only options available in HTMLLayout are "LocationInfo" and "Title". The layout of HTMLLayout is specified in the format(LoggingEvent) method of HTMLLayout. -Original Message- From: Dharanendra S

RE: Doubt

2002-03-29 Thread Collier, Mike
Doesn't the Layout used have something to do with whether or not the stack trace information is inserted into your logging file? So, if you use FileAppender and choose a layout of SimpleLayout, TTCCLayout, or PatternLayout, then you wouldn't see any stack trace in your file. But, if you

RE: Multiple Configuration Files

2002-03-21 Thread Collier, Mike
Thanks for your response! However, I think I would have a root defined in both files (one for the client side & one for the server side), and I would also have duplicate categories. For example, I want to send all log messages from category "com.foo" to the JMSAppender - this wou

Multiple Configuration Files

2002-03-21 Thread Collier, Mike
I am trying to configure Log4J with two configuration files. The reason for this is as follows: I am trying to use the JMSAppender to send log messages to a topic, and a Message Driven Bean to process messages received from that topic. I would like to be able to configure (bas

Re-read configuration file via configureAndWatch()

2002-03-18 Thread Collier, Mike
In early January '02 there was a discussion (http://marc.theaimsgroup.com/?t=10101007052&r=1&w=2) between Ceki and others about extending DOMConfigurator and/or PropertyConfigurator to use the log4j.configuration property. This extension would allow for configureAndWatch() type functional