You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by James Green <ja...@gmail.com> on 2012/10/26 11:30:06 UTC

Changing logging without restart?

I need to change log4j.properties but restarting the brokers across our
network is going to cause grief internally.

Is there another option?

Thanks,

James

Re: Changing logging without restart?

Posted by Torsten Mielke <to...@fusesource.com>.
> AFAIR there is a reloadLog4jProperties() JMX operation in the Broker MBean.
> Could you test and confirm?

Yes, that one works as expected. I have tested it various times.


Torsten Mielke
torsten@fusesource.com
tmielke@blogspot.com



On Oct 26, 2012, at 12:42 PM, Raul Kripalani wrote:

> AFAIR there is a reloadLog4jProperties() JMX operation in the Broker MBean.
> Could you test and confirm?
> 
> Regards,
> 
> *Raúl Kripalani*
> Apache Camel Committer
> Enterprise Architect, Program Manager, Open Source Integration specialist
> http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
> http://blog.raulkr.net | twitter: @raulvk <http://twitter.com/raulvk>
> 
> On Fri, Oct 26, 2012 at 10:30 AM, James Green <ja...@gmail.com>wrote:
> 
>> I need to change log4j.properties but restarting the brokers across our
>> network is going to cause grief internally.
>> 
>> Is there another option?
>> 
>> Thanks,
>> 
>> James





Re: Changing logging without restart?

Posted by Raul Kripalani <ra...@evosent.com>.
AFAIR there is a reloadLog4jProperties() JMX operation in the Broker MBean.
Could you test and confirm?

Regards,

*Raúl Kripalani*
Apache Camel Committer
Enterprise Architect, Program Manager, Open Source Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk <http://twitter.com/raulvk>

On Fri, Oct 26, 2012 at 10:30 AM, James Green <ja...@gmail.com>wrote:

> I need to change log4j.properties but restarting the brokers across our
> network is going to cause grief internally.
>
> Is there another option?
>
> Thanks,
>
> James
>