Re: Commons-logging conflict with failover

2008-11-04 Thread James Strachan
2008/11/4 selezovikj <[EMAIL PROTECTED]>: > System.out.println("before declaration"); > final Log log = LogFactory.getLog("MSGSTATS"); > System.out.println("after declaration"); > > "after declaration" is never printed out. > > > So commons-logging initializes a Log, which initializes log4j by read

Re: Commons-logging conflict with failover

2008-11-04 Thread selezovikj
connected. Any way to tell failover to not block/log ? -- View this message in context: http://www.nabble.com/Commons-logging-conflict-with-failover-tp20323028p20325590.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Commons-logging conflict with failover

2008-11-04 Thread selezovikj
the problem you mentioned ? >>>> If failover uses logging to indicate when it is connected and somehow >>>> commons-logging does not allow this, is there a way to forcefully >>>> initialize >>>> logging so that failover can log successfully and not block ? >

Re: Commons-logging conflict with failover

2008-11-04 Thread selezovikj
ne where these log > messages go (locally versus remotely over JMS etc). > > Did you try Dejan's suggestion? > > -- > James > --- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > > -- View this message in cont

Re: Commons-logging conflict with failover

2008-11-04 Thread James Strachan
2008/11/4 selezovikj <[EMAIL PROTECTED]>: > > So failover tries to log that it is connected, but it cannot log since it is > not connected. > But, my question is: connected where ? > Why doesn't failover log locally that it is connected ? Why can't it log > without being connected ? It can just log

Re: Commons-logging conflict with failover

2008-11-04 Thread selezovikj
ou please tell me what do you mean by ActiveMQ logging information ? >> Do >> you mean the information that the failover logs when it connects ? > > Yes > >> And what does this have to do with commons-logging ? > > ActiveMQ uses commons-logging to log > > -- >

Re: Commons-logging conflict with failover

2008-11-04 Thread Dejan Bosanac
>>>> >>>> Are you using the JMS appender as well by any chance? Do you get any >>>> logging output? >>>> >>>> FWIW the failover transports uses logging to indicate when its >>>> connected; so if logging is not working it might b

Re: Commons-logging conflict with failover

2008-11-04 Thread James Strachan
2008/11/4 selezovikj <[EMAIL PROTECTED]>: > > I am not sending ActiveMQ logging information to the JMS appender. > > __ > Logger messageLogger = Logger.getLogger("MSGSTATS"); > messageLogger.info("Client logs to 61617"); > __ > > The M

Re: Commons-logging conflict with failover

2008-11-04 Thread selezovikj
t;> >>> >>> >>> Are you using the JMS appender as well by any chance? Do you get any >>> logging output? >>> >>> FWIW the failover transports uses logging to indicate when its >>> connected; so if logging is not working it might block >>>

Re: Commons-logging conflict with failover

2008-11-04 Thread James Strachan
WIW the failover transports uses logging to indicate when its >> connected; so if logging is not working it might block >> -- >> James >> --- >> http://macstrac.blogspot.com/ >> >> Open Source Integration >> http://fusesource.com/ >> >>

Re: Commons-logging conflict with failover

2008-11-04 Thread selezovikj
ging is not working it might block > -- > James > --- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > > -- View this message in context: http://www.nabble.com/Commons-logging-conflict-with-failover-tp20323028p20323586.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Commons-logging conflict with failover

2008-11-04 Thread James Strachan
2008/11/4 selezovikj <[EMAIL PROTECTED]>: > > I am using log4j to send logging events to a topic on an ActiveMQ broker. > I use the failover transport to specify a secondary host and automatic > reconnection. > When the commons-logging.jar is in the classpath the failover transport is > blocking.

Commons-logging conflict with failover

2008-11-04 Thread selezovikj
://www.nabble.com/Commons-logging-conflict-with-failover-tp20323028p20323028.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.