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
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
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
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
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
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
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
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