[JIRA] Created: (LBCORE-59) Support for reconfiguration at runtime

Support for reconfiguration at runtime -------------------------------------- Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Logback dev list Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

Thank you Michael. Michael Osipov (JIRA) wrote:
Support for reconfiguration at runtime --------------------------------------
Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Logback dev list
Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch.
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch

[ http://jira.qos.ch/browse/LBCORE-59?page=com.atlassian.jira.plugin.system.is... ] Ceki Gulcu commented on LBCORE-59: ---------------------------------- A turbo filter checking for updates would not incur the separate thread problem.
Support for reconfiguration at runtime --------------------------------------
Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Ceki Gulcu
Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCORE-59?page=com.atlassian.jira.plugin.system.is... ] Michael Osipov commented on LBCORE-59: -------------------------------------- Above that, I would to have a misconcept in log4j eliminated in here. You have explicitly programmatically to say reconfigureAndWatch. An extension of the logback.xml would be much besser, say: {code:xml} <configuration reconfigure="30"> .... </configuration> {code} If the configure attribute is present, a reconfig will happen every in this case 30 seconds.
Support for reconfiguration at runtime --------------------------------------
Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Ceki Gulcu
Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCORE-59?page=com.atlassian.jira.plugin.system.is... ] Ralph Goers updated LBCORE-59: ------------------------------ Attachment: AutoReconfiguration.zip The attached zip provides a class the user can configure to listen for updates and cause reconfiguration. If not provided with logback this would be useful at least as an example.
Support for reconfiguration at runtime --------------------------------------
Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Ceki Gulcu Attachments: AutoReconfiguration.zip
Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCORE-59?page=com.atlassian.jira.plugin.system.is... ] Ceki Gulcu commented on LBCORE-59: ---------------------------------- Reconfiguration can be like JMXConfigurator, that is just a stop/reconfigure operation, i.e. lossy.
Support for reconfiguration at runtime --------------------------------------
Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Ceki Gulcu Attachments: AutoReconfiguration.zip
Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCORE-59?page=com.atlassian.jira.plugin.system.is... ] Ceki Gulcu edited comment on LBCORE-59 at 7/9/09 5:57 PM: ---------------------------------------------------------- Note to self: reconfiguration can be like JMXConfigurator, that is just a stop/reconfigure operation, i.e. lossy. was (Author: noreply.ceki@qos.ch): Reconfiguration can be like JMXConfigurator, that is just a stop/reconfigure operation, i.e. lossy.
Support for reconfiguration at runtime --------------------------------------
Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Ceki Gulcu Attachments: AutoReconfiguration.zip
Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCORE-59?page=com.atlassian.jira.plugin.system.is... ] Ralph Goers commented on LBCORE-59: ----------------------------------- FWIW, I asked my operations people what approach they wanted for updating the configuration at runtime. They chose automatic reconfiguration via detecting the file modification over using JMX.
Support for reconfiguration at runtime --------------------------------------
Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Ceki Gulcu Attachments: AutoReconfiguration.zip
Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCORE-59?page=com.atlassian.jira.plugin.system.is... ] Ceki Gulcu resolved LBCORE-59. ------------------------------ Fix Version/s: 0.9.16 Resolution: Fixed Fixed in 0.9.16.
Support for reconfiguration at runtime --------------------------------------
Key: LBCORE-59 URL: http://jira.qos.ch/browse/LBCORE-59 Project: logback-core Issue Type: New Feature Components: Joran Affects Versions: 0.9.9 Reporter: Michael Osipov Assignee: Ceki Gulcu Fix For: 0.9.16
Attachments: AutoReconfiguration.zip
Joran should support reconfiguration at runime like log4j's DOMConfigurator#configureAndWatch.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
participants (4)
-
Ceki Gulcu
-
Ceki Gulcu (JIRA)
-
Michael Osipov (JIRA)
-
Ralph Goers (JIRA)