On Tue, Apr 1, 2014 at 3:13 PM, Mohit Anchlia <[email protected]>wrote:
> Is there a stable version available? Yes: https://logging.apache.org/log4j/2.x/ > How do I reload configuration? Please see: - https://logging.apache.org/log4j/2.x/manual/configuration.html#AutomaticReconfiguration - https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/config/Reconfigurable.html#reconfigure() > I am > using log4j.properties and not xml > Log4j 2 does not support properties files for configuration. It might one day, but not now. Gary > > On Tue, Apr 1, 2014 at 12:09 PM, Gary Gregory <[email protected] > >wrote: > > > You would be better served using version 2 which we are actively working > > on. > > > > Gary > > > > -------- Original message -------- > > From: Mohit Anchlia <[email protected]> > > Date:04/01/2014 15:01 (GMT-05:00) > > To: Log4J Users List <[email protected]> > > Subject: Unit testing log4j JMS Appender > > > > I am trying to unit test log4j with jms appender, however even before I > > bring up the jms embedded broker service log4j.properties get loaded and > it > > fails to connect to the broker. Is there a way to reload log4j after the > > broker is up? > > > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
