<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Tahoma, Geneva, sans-serif;">
<p>Nice, I will look at that for inspiration.</p>
<p><br>
</p>
<p>Quick comment: your REST API use `PUT /logger` to add a logger, and `POST /logger` to update an exosting logger. While that of course works it's a bit unusual because normally POST is used to create new items, and PUT is used to update existing items.</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><span lang="en-US">
<div align="justify" style="margin:0"><font size="2" face="Arial,sans-serif"><span style="font-size:10pt"><font size="3" color="#17365D" face="Calibri,sans-serif"><span style="font-size:12pt"></nk><br>
<br>
---<br>
<br>
</span></font></span></font><br>
<div style="color:Black; font-size:10pt">
<div style="color:DarkBlue">Norbert Kiesel</div>
<div style="color:DarkBlue">Systems Architect | Engineering</div>
<div style="font-size:12pt"><span style="font-weight:bold">Metric</span>Stream</div>
<div>2600 E. Bayshore Road | Palo Alto, CA - 94303</div>
<div>+1-650-620-2954 | nkiesel@metricstream.com | <span style="color:Blue">www.metricstream.com</span></div>
</div>
<font size="2" face="Arial,sans-serif"><span style="font-size:10pt"><font size="3" color="#17365D" face="Calibri,sans-serif"><span style="font-size:12pt"><font size="2"></font></span></font></span></font></div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> logback-user <logback-user-bounces@qos.ch> on behalf of Martin Todorov <carlspring@gmail.com><br>
<b>Sent:</b> Thursday, March 31, 2016 12:00 PM<br>
<b>To:</b> logback users list<br>
<b>Subject:</b> Re: [logback-user] produce configuration file from current configuration?</font>
<div> </div>
</div>
<div>
<div dir="ltr"><br>
<div><br>
</div>
<div>Hi Norbert,</div>
<div><br>
</div>
<div>We recently put together the following project:</div>
<div>- <a href="https://github.com/carlspring/logback-configuration" id="LPlnk66784">https://github.com/carlspring/logback-configuration</a>
<div id="LPBorder_GT_14599360728100.8680077933314463" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14599360728080.7751499430881228" cellspacing="0" style="width: 90%; position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top-width: 1px; border-top-style: dotted; border-top-color: rgb(200, 200, 200); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(200, 200, 200); background-color: rgb(255, 255, 255);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="ImageCell_14599360728080.0029739441626315255" colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;">
<div id="LPImageContainer_14599360728080.18002651031443873" style="height: 250px; position: relative; margin: auto; display: table; width: 250px; background-color: rgb(255, 255, 255);">
<a id="LPImageAnchor_14599360728090.4213693701092589" href="https://github.com/carlspring/logback-configuration" target="_blank" style="display: table-cell; text-align: center;"><img aria-label="Preview image with link selected. Double-tap to open the link." width="250" height="250" style="display: inline-block; margin-left: auto; margin-right: auto; max-width: 250px; max-height: 250px; height: 250px; width: 250px; border-width: 0px; vertical-align: bottom;" src="https://avatars1.githubusercontent.com/u/1436265?v=3&s=400"></a></div>
</td>
<td id="TextCell_14599360728090.29633157416840206" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14599360728090.4094441398893094"></div>
<div id="LPTitle_14599360728090.3720318979470316" style="top: 0px; color: rgb(67, 33, 88); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, 'Segoe UI Light', 'Segoe WP Light', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14599360728090.34613511951743847" href="https://github.com/carlspring/logback-configuration" target="_blank" style="text-decoration: none;">carlspring/logback-configuration</a></div>
<div id="LPMetadata_14599360728090.22826687999223627" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
github.com</div>
<div id="LPDescription_14599360728100.4653310630090415" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Contribute to logback-configuration development by creating an account on GitHub.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
<div><br>
</div>
<div>It has a simple REST API and a Spring-based service layer. It's quite easy to set up. It has some straight-forward test cases which you can have a look at in order to figure out how things work.</div>
<div>I haven't yet pushed it Maven Central, but if it looks like something you might want to use, let me know and I'll release a version 1.0.</div>
<div><br>
</div>
<div>Let me know what you think!</div>
<div>Kind regards,</div>
<div><br>
</div>
<div>Martin Todorov</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 31, 2016 at 6:49 PM, Norbert Kiesel <span dir="ltr">
<<a href="mailto:nkiesel@metricstream.com" target="_blank">nkiesel@metricstream.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Tahoma,Geneva,sans-serif">
<p>Hi,</p>
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>Is there a way to convert a current logback configuration back into an XML (or Groovy) configuration file?</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><span lang="en-US">
<div align="justify" style="margin:0"><font size="2" face="Arial,sans-serif"><span style="font-size:10pt"><font size="3" color="#17365D" face="Calibri,sans-serif"><span style="font-size:12pt"></nk><br>
<br>
---<br>
<br>
</span></font></span></font><br>
<div style="color:Black; font-size:10pt">
<div style="color:DarkBlue">Norbert Kiesel</div>
<div style="color:DarkBlue">Systems Architect | Engineering</div>
<div style="font-size:12pt"><span style="font-weight:bold">Metric</span>Stream</div>
<div>2600 E. Bayshore Road | Palo Alto, CA - 94303</div>
<div><a href="tel:%2B1-650-620-2954" value="+16506202954" target="_blank">+1-650-620-2954</a> |
<a href="mailto:nkiesel@metricstream.com" target="_blank">nkiesel@metricstream.com</a> |
<span style="color:Blue"><a href="http://www.metricstream.com" target="_blank">www.metricstream.com</a></span></div>
</div>
<font size="2" face="Arial,sans-serif"><span style="font-size:10pt"><font size="3" color="#17365D" face="Calibri,sans-serif"><span style="font-size:12pt"><font size="2"></font></span></font></span></font></div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p style="font-size:9pt; color:gray; line-height:8pt; font-family:calibri"><b><u>Confidentiality Notice:</u></b>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</p>
</div>
<br>
_______________________________________________<br>
logback-user mailing list<br>
<a href="mailto:logback-user@qos.ch">logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" rel="noreferrer" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>