[logback-user] produce configuration file from current configuration?

Norbert Kiesel nkiesel at MetricStream.com
Thu Mar 31 17:49:30 UTC 2016


we finally switched from a home-grown logging system to slf4j/logback and are overall happy.  However, the old solution (which was much  more limited) offered a web GUI for setting the root log level.  We could of course implement that using the logback API.  However, this will of not be reflected in our logback.xml.  I'm also worried that any other change in that file will simply reset the log level given that we use the `scanPeriod` option.

Is there a way to convert a current logback configuration back into an XML (or Groovy) configuration file?



Norbert Kiesel
Systems Architect | Engineering
2600 E. Bayshore Road | Palo Alto, CA - 94303
+1-650-620-2954 | nkiesel at metricstream.com | www.metricstream.com

Confidentiality Notice:This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20160331/1a83d387/attachment.html>

More information about the logback-user mailing list