| Author |
Sonic MQ error logs
|
Alita Bear
Greenhorn
Joined: Apr 07, 2005
Posts: 1
|
|
I have an application that makes use of the Sonic library. My question is, does anyone know how not to show Sonic errors in the console? An example is when I try to create a progress.message.jclient.TopicConnectionFactory when the Sonic server is down. I have something like this in my code: try { topicConnectionFactory = new progress.message.jclient.TopicConnectionFactory(); topicConnection = topicConnectionFactory.createTopicConnection(username, password); } catch (Exception e) { getLogger().log(Level.FINER,"Problem in connecting, "e); } When the Sonic broker is down, I was expecting to just get the FINER log from my class's logger but I get this extraneous log: [103] progress.message.client.EUnknownBrokerHost: java.net.UnknownHostException: <my host name>:https://<my host name>:<its port number> at progress.message.zclient.Connection.WPB_(Unknown Source) at progress.message.zclient.Connection.connectWithRecoveryOpt(Unknown So urce) at progress.message.zclient.ReconnectHelper.connectAndChaseSingleFailove rRedirect(Unknown Source) at progress.message.zclient.ReconnectHelper.connect(Unknown Source) at progress.message.zclient.FaultTolerantDropHandler.LV_(Unknown Source) at progress.message.zclient.FaultTolerantDropHandler.socketDropped(Unkno wn Source) at progress.message.zclient.Connection.qPB_(Unknown Source) at progress.message.zclient.ClientListener.hBC_(Unknown Source) at progress.message.zclient.ClientListener.gBC_(Unknown Source) at progress.message.zclient.ClientListener.threadMain(Unknown Source) at progress.message.zclient.DebugThread.run(Unknown Source) before my FINER log. Are Sonic errors by default logged to the console? Is there a way to suppress all of these messages?
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Sonic MQ error logs
|
|
|