You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jessezbj <je...@hotmail.com> on 2011/08/16 23:58:46 UTC
How to disable ActiveMQ 5.4.2 failover successful connection by
editing log4j.properties
I tried to set log4j.logger.org.apache.activemq=ERROR in log4j.properties
used by client code.
but the INFO message of successful connection always come out.
how to fix it?
--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-disable-ActiveMQ-5-4-2-failover-successful-connection-by-editing-log4j-properties-tp3748587p3748587.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: How to disable ActiveMQ 5.4.2 failover successful connection by
editing log4j.properties
Posted by Gary Tully <ga...@gmail.com>.
log4j.logger.org.apache.activemq.transport.failover.FailoverTransport=ERROR
On 17 August 2011 14:17, jessezbj <je...@hotmail.com> wrote:
> Thank you very much!
>
> I am sure the log4j.properties loaded by my client program is the one I am
> editing.
>
> but failover connection INFO logging still comes out.
>
> could you show me an example log4j.properties file content which can work ?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/How-to-disable-ActiveMQ-5-4-2-failover-successful-connection-by-editing-log4j-properties-tp3748587p3749928.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
http://fusesource.com
http://blog.garytully.com
Re: How to disable ActiveMQ 5.4.2 failover successful connection by
editing log4j.properties
Posted by jessezbj <je...@hotmail.com>.
Thank you very much!
I am sure the log4j.properties loaded by my client program is the one I am
editing.
but failover connection INFO logging still comes out.
could you show me an example log4j.properties file content which can work ?
--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-disable-ActiveMQ-5-4-2-failover-successful-connection-by-editing-log4j-properties-tp3748587p3749928.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: How to disable ActiveMQ 5.4.2 failover successful connection by
editing log4j.properties
Posted by Gary Tully <ga...@gmail.com>.
set the system property -Dlog4j.debug=true to see where the log4j
configuration is being found, it appears that is is not picking the
properties file that you expect.
With that system property, log4j will trace the configuration
resolution process.
On 16 August 2011 22:58, jessezbj <je...@hotmail.com> wrote:
> I tried to set log4j.logger.org.apache.activemq=ERROR in log4j.properties
> used by client code.
>
>
> but the INFO message of successful connection always come out.
>
>
> how to fix it?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/How-to-disable-ActiveMQ-5-4-2-failover-successful-connection-by-editing-log4j-properties-tp3748587p3748587.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
http://fusesource.com
http://blog.garytully.com