<div dir="ltr">Wow, good catch.  That makes perfect sense.  We&#39;re already using a custom build of Tuckey that fixes a couple bugs (isn&#39;t abandonware great...).  We might just see about plugging that log method into Log4j to get proper categories and severities out of it.  Thanks for the help!</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div></div><div>Thanks!</div><div><br></div><div>~Brad</div><div><br></div><div><b>Developer Advocate</b></div><div><i>Ortus Solutions, Corp </i></div><div><b><br></b></div><div>E-mail: <a href="mailto:brad@coldbox.org" target="_blank">brad@coldbox.org</a></div><div>ColdBox Platform: <a href="http://www.coldbox.org" target="_blank">http://www.coldbox.org</a> </div><div>Blog: <a href="http://www.codersrevolution.com" target="_blank">http://www.codersrevolution.com</a></div><div><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Apr 3, 2018 at 6:21 PM, Stuart Douglas <span dir="ltr">&lt;<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>&gt;</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>Tuckey does some funky stuff with logging. It basically has its own thing, that can delegate to slf4j, but if that is not enabled then it will basically end up logging using the ServletContext log() methods (or stderr/stdout). </div><div><br></div><div>These methods kind of suck, as they have no way to specify a severity or category. In our impl the version without an exception logs at INFO, the version with logs at ERROR. Thinking about it these should really have their own category to make it clear what is going on here. </div><div><br></div><div><a href="https://github.com/paultuckey/urlrewritefilter/blob/master/src/main/java/org/tuckey/web/filters/urlrewrite/utils/Log.java#L444" target="_blank">https://github.com/paultuckey/<wbr>urlrewritefilter/blob/master/<wbr>src/main/java/org/tuckey/web/<wbr>filters/urlrewrite/utils/Log.<wbr>java#L444</a><br></div><div><br></div><div>Other than adding a slf4j bridge and making it use slf4j somehow I don&#39;t know if there is much you can do.</div><div><br></div><div>Stuart</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Apr 4, 2018 at 7:38 AM, Brad Wood <span dir="ltr">&lt;<a href="mailto:bdw429s@gmail.com" target="_blank">bdw429s@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>We&#39;re using Undertow in a console app that also leverages Tuckey for URL rewriting.  We&#39;re also using Log4j for logging stuff.  I was noticing this week that most of the log messages from Tuckey seem to be nested inside of a log message from Undertow-- often times with a different logging severity.  </div><div><br></div><div>

<pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;font-size:11.9px;margin-top:0px;margin-bottom:16px;word-wrap:normal;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;color:rgb(36,41,46);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;font-size:11.9px;padding:0px;margin:0px;background:transparent;border-radius:3px;word-break:normal;white-space:pre-wrap;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal">[INFO ] io.undertow.servlet: org.tuckey.web.filters.urlrewr<wbr>ite.Condition TRACE: outcome false
</code></pre>I can try and provide the details of how we&#39;re using Log4j if I need.  I&#39;d like to be able to do some filtering and such to separate out my Tuckey logs, but I can&#39;t do it easily when they appear to get caught up and re-logged by Undertow under a different logging category and severity.<br></div><div><br></div><div>Any ideas on what&#39;s going on would be welcome.</div><br clear="all"><div><div class="m_6536290948842146471m_1462343402638022844gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div></div><div>Thanks!</div><div><br></div><div>~Brad</div><div><br></div><div><b>Developer Advocate</b></div><div><i>Ortus Solutions, Corp </i></div><div><b><br></b></div><div>E-mail: <a href="mailto:brad@coldbox.org" target="_blank">brad@coldbox.org</a></div><div>ColdBox Platform: <a href="http://www.coldbox.org" target="_blank">http://www.coldbox.org</a> </div><div>Blog: <a href="http://www.codersrevolution.com" target="_blank">http://www.codersrevolution.co<wbr>m</a></div><div><br></div></div></div></div></div></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/undertow-dev</a><br></blockquote></div><br></div>
</blockquote></div><br></div>