[ https://issues.apache.org/jira/browse/QPID-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Gemmell updated QPID-1648: --------------------------------- Attachment: QPID-1648_18feb2009.patch I attach QPID-1648_18feb2009.patch to replace QPID-1648_6feb2009.patch This version incorporates an MBean version, and should be applied after the patch for QPID-1537 > Enable live reconfiguration of Log4J settings for the Java broker via JMX > ------------------------------------------------------------------------- > > Key: QPID-1648 > URL: https://issues.apache.org/jira/browse/QPID-1648 > Project: Qpid > Issue Type: New Feature > Components: Java Broker, Java Management : JMX Console > Reporter: Robert Gemmell > Fix For: Eclipse MC M5 > > Attachments: log4j_config_changes.patch, QPID-1648_18feb2009.patch > > > It would be useful to be able to update the Log4J settings for a running Java > broker via JMX, incase it was desirable to adjust logging to investigate an > issue which became apparent after startup. > Whilst Log4J supports monitoring its own configuration file for updates, the > broker must be started with this enabled for it to be of any use, and > updating the settings by manually modifying the xml file runs the risk of > accidentally rendering the file invalid, which could lead to serious issues > when the update is detected and applied by Log4j. > In order to address these issues, adding the ability to to update the > settings via JMX would allow users to be able to adjust the Log4J settings in > 2 ways: by modifying the xml file programatically rather than by hand, or by > modifying the Log4J runtime settings directly, allowing (temporary) updates > even where Log4J has not been instructed to monitor its configuration file > for change. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org