<style>
/* Changing the layout to use less space for mobiles */
@media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) {
    #email-body { min-width: 30em !important; }
    #email-page { padding: 8px !important; }
    #email-banner { padding: 8px 8px 0 8px !important; }
    #email-avatar { margin: 1px 8px 8px 0 !important; padding: 0 !important; }
    #email-fields { padding: 0 8px 8px 8px !important; }
    #email-gutter { width: 0 !important; }
}
</style>
<div id="email-body">
<table id="email-wrap" align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#f0f0f0;color:#000000;width:100%;">
    <tr valign="top">
        <td id="email-page" style="padding:16px !important;">
            <table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#ffffff;border:1px solid #bbbbbb;color:#000000;width:100%;">
                <tr valign="top">
                    <td bgcolor="#003366" style="background-color:#003366;color:#ffffff;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;line-height:1;"><img src="http://jira.qos.ch/s/en_USx01s37-418945332/850/27/_/jira-logo-scaled.png" alt="" style="vertical-align:top;" /></td>
                </tr><tr valign="top">
    <td id="email-banner" style="padding:32px 32px 0 32px;">
        
                
        
        
            <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="width:100%;">
    <tr valign="top">
        <td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;padding:0;">
                                        <img id="email-avatar" src="http://jira.qos.ch/secure/useravatar?avatarId=10122" alt="" height="48" width="48" border="0" align="left" style="padding:0;margin: 0 16px 16px 0;" />
                        <div id="email-action" style="padding: 0 0 8px 0;font-size:12px;line-height:18px;">
                                    <a class="user-hover" rel="bsoto" id="email_bsoto" href="http://jira.qos.ch/secure/ViewProfile.jspa?name=bsoto" style="color:#326ca6;">benjamin</a>
     created <img src="http://jira.qos.ch/images/icons/issuetypes/bug.png" height="16" width="16" border="0" align="absmiddle" alt="Bug"> <a style='color:#326ca6;text-decoration:none;' href='http://jira.qos.ch/browse/LOGBACK-1106'>LOGBACK-1106</a>
            </div>
                        <div id="email-summary" style="font-size:16px;line-height:20px;padding:2px 0 16px 0;">
                <a style='color:#326ca6;text-decoration:none;' href='http://jira.qos.ch/browse/LOGBACK-1106'><strong>There is no conversion class registered for conversion word [d]</strong></a>
            </div>
                    </td>
    </tr>
</table>
    </td>
</tr>
<tr valign="top">
    <td id="email-fields" style="padding:0 32px 32px 32px;">
        <table border="0" cellpadding="0" cellspacing="0" style="padding:0;text-align:left;width:100%;" width="100%">
            <tr valign="top">
                <td id="email-gutter" style="width:64px;white-space:nowrap;"></td>
                <td>
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Issue Type:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
                <img src="http://jira.qos.ch/images/icons/issuetypes/bug.png" height="16" width="16" border="0" align="absmiddle" alt="Bug">        Bug
    </td>
</tr>                        <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Affects Versions:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
                    1.1.3,                     1.1.2            </td>
</tr>
                        <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Assignee:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
                                        <a class="user-hover" rel="logback-dev@qos.ch" id="email_logback-dev@qos.ch" href="http://jira.qos.ch/secure/ViewProfile.jspa?name=logback-dev%40qos.ch" style="color:#326ca6;">Logback dev list</a>
                </td>
</tr>                                                <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Components:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
                    logback-access,                     logback-classic,                     logback-core,                     logback-site            </td>
</tr>
                        <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Created:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
        16/Oct/15 6:23 PM
    </td>
</tr>                        <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Description:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
        <p style='margin-top:0;margin-bottom:10px;'>Hello,</p>

<p style='margin-top:0;margin-bottom:10px;'>I'm having problems with logback, i'm not sure if this is a bug, but certainly is very very weird behavior.</p>

<p style='margin-top:0;margin-bottom:10px;'>I just follow a tutorial (logback.qos.ch/manual/configuration.html#joranDirectly) to load the configuration xml from another place, when it load the xml this print a lot of errors:</p>

<p style='margin-top:0;margin-bottom:10px;'>_14:51:42,240 |-INFO in ch.qos.logback.classic.LoggerContext<span class="error">[default]</span> - Could NOT find resource <span class="error">[logback.groovy]</span><br/>
14:51:42,240 |-INFO in ch.qos.logback.classic.LoggerContext<span class="error">[default]</span> - Could NOT find resource <span class="error">[logback-test.xml]</span><br/>
14:51:42,240 |-INFO in ch.qos.logback.classic.LoggerContext<span class="error">[default]</span> - Found resource <span class="error">[logback.xml]</span> at <a href="file:/Test/target/classes/logback.xml" class="external-link">file:/Test/target/classes/logback.xml</a><br/>
14:51:42,325 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set<br/>
14:51:42,329 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type <span class="error">[ch.qos.logback.core.ConsoleAppender]</span><br/>
14:51:42,337 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as <span class="error">[STDOUT]</span><br/>
14:51:42,358 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type <span class="error">[ch.qos.logback.classic.encoder.PatternLayoutEncoder]</span> for <span class="error">[encoder]</span> property<br/>
14:51:42,414 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN<br/>
14:51:42,414 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named <span class="error">[STDOUT]</span> to Logger<span class="error">[ROOT]</span><br/>
14:51:42,414 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.<br/>
14:51:42,415 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@e74eb02 - Registering current configuration as safe fallback point<br/>
14:51:42,429 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type <span class="error">[ch.qos.logback.core.ConsoleAppender]</span><br/>
14:51:42,429 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as <span class="error">[STDOUT]</span><br/>
14:51:42,429 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type <span class="error">[ch.qos.logback.access.PatternLayoutEncoder]</span> for <span class="error">[encoder]</span> property<br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - There is no conversion class registered for conversion word <span class="error">[d]</span><br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - <span class="error">[d]</span> is not a valid conversion word<br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - There is no conversion class registered for conversion word <span class="error">[thread]</span><br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - <span class="error">[thread]</span> is not a valid conversion word<br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - There is no conversion class registered for conversion word <span class="error">[level]</span><br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - <span class="error">[level]</span> is not a valid conversion word<br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - There is no conversion class registered for conversion word <span class="error">[logger]</span><br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - <span class="error">[logger]</span> is not a valid conversion word<br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - There is no conversion class registered for conversion word <span class="error">[msg]</span><br/>
14:51:42,443 |-ERROR in ch.qos.logback.core.pattern.parser.Compiler@6c9bc6a9 - <span class="error">[msg]</span> is not a valid conversion word<br/>
14:51:42,450 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@9:22 - no applicable action for <span class="error">[root]</span>, current ElementPath  is [<span class="error">[configuration]</span><span class="error">[root]</span>]<br/>
14:51:42,451 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@10:32 - no applicable action for <span class="error">[appender-ref]</span>, current ElementPath  is [<span class="error">[configuration]</span><span class="error">[root]</span><span class="error">[appender-ref]</span>]<br/>
14:51:42,451 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - End of configuration.<br/>
14:51:42,451 |-INFO in ch.qos.logback.access.joran.JoranConfigurator@32a0a9ac - Registering current configuration as safe fallback point<br/>
14:51:42,453 |-WARN in Logger<span class="error">[Main]</span> - No appenders present in context <span class="error">[default]</span> for logger <span class="error">[Main]</span>._</p>

<p style='margin-top:0;margin-bottom:10px;'>To make sure this is a bug and not a bad configuration, i have created a maven project with only one java file</p>

<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>Bar.java</b></div><div class="codeContent panelContent">
<pre class="code-java">
<span class="code-keyword">import</span> org.slf4j.Logger;
<span class="code-keyword">import</span> org.slf4j.LoggerFactory;

<span class="code-keyword">import</span> ch.qos.logback.access.joran.JoranConfigurator;
<span class="code-keyword">import</span> ch.qos.logback.classic.LoggerContext;
<span class="code-keyword">import</span> ch.qos.logback.core.joran.spi.JoranException;

<span class="code-keyword">public</span> class Main {
        <span class="code-keyword">static</span> Logger logger = LoggerFactory.getLogger(Main.class);

        <span class="code-keyword">public</span> <span class="code-keyword">static</span> void main(<span class="code-object">String</span>[] args) {
                LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory();

                <span class="code-keyword">try</span> {
                        JoranConfigurator configurator = <span class="code-keyword">new</span> JoranConfigurator();
                        configurator.setContext(context);
                        context.reset();
                        configurator.doConfigure(args[0]);
                } <span class="code-keyword">catch</span> (JoranException je) {
                        <span class="code-comment">// StatusPrinter will handle <span class="code-keyword">this</span>
</span>           }

                logger.error(<span class="code-quote">"ASDF"</span>);
                logger.info(<span class="code-quote">"ASDF"</span>);
                logger.debug(<span class="code-quote">"ASDF"</span>);
                logger.warn(<span class="code-quote">"ASDF"</span>);
                logger.trace(<span class="code-quote">"ASDF"</span>);
        }
}
</pre>
</div></div>

<p style='margin-top:0;margin-bottom:10px;'>This is the logback.xml that i'm trying to load</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">
<span class="code-tag"><configuration debug=<span class="code-quote">"true"</span>></span>
        <span class="code-tag"><appender name=<span class="code-quote">"STDOUT"</span> class=<span class="code-quote">"ch.qos.logback.core.ConsoleAppender"</span>></span>
                <span class="code-tag"><encoder></span>
                        <span class="code-tag"><pattern></span>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
                        <span class="code-tag"></pattern></span>
                <span class="code-tag"></encoder></span>
        <span class="code-tag"></appender></span>

        <span class="code-tag"><root level=<span class="code-quote">"debug"</span>></span>
                <span class="code-tag"><appender-ref ref=<span class="code-quote">"STDOUT"</span> /></span>
        <span class="code-tag"></root></span>
<span class="code-tag"></configuration></span>
</pre>
</div></div>

<p style='margin-top:0;margin-bottom:10px;'>and this is the pom.xml</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">
<project xmlns=<span class="code-quote">"http://maven.apache.org/POM/4.0.0"</span> <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
        xsi:schemaLocation=<span class="code-quote">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"</span>>
        <span class="code-tag"><modelVersion></span>4.0.0<span class="code-tag"></modelVersion></span>
        <span class="code-tag"><groupId></span>Test<span class="code-tag"></groupId></span>
        <span class="code-tag"><artifactId></span>Test<span class="code-tag"></artifactId></span>
        <span class="code-tag"><version></span>0.0.1<span class="code-tag"></version></span>
        <span class="code-tag"><name></span>Test<span class="code-tag"></name></span>
        <span class="code-tag"><description></span> <span class="code-tag"></description></span>
        <span class="code-tag"><dependencies></span>
                <span class="code-tag"><dependency></span>
                        <span class="code-tag"><groupId></span>junit<span class="code-tag"></groupId></span>
                        <span class="code-tag"><artifactId></span>junit<span class="code-tag"></artifactId></span>
                        <span class="code-tag"><version></span>3.8.1<span class="code-tag"></version></span>
                <span class="code-tag"></dependency></span>
                <span class="code-tag"><dependency></span>
                        <span class="code-tag"><groupId></span>ch.qos.logback<span class="code-tag"></groupId></span>
                        <span class="code-tag"><artifactId></span>logback-access<span class="code-tag"></artifactId></span>
                        <span class="code-tag"><version></span>1.1.3<span class="code-tag"></version></span>
                <span class="code-tag"></dependency></span>
                <span class="code-tag"><dependency></span>
                        <span class="code-tag"><groupId></span>ch.qos.logback<span class="code-tag"></groupId></span>
                        <span class="code-tag"><artifactId></span>logback-classic<span class="code-tag"></artifactId></span>
                        <span class="code-tag"><version></span>1.1.3<span class="code-tag"></version></span>
                <span class="code-tag"></dependency></span>
                <span class="code-tag"><dependency></span>
                        <span class="code-tag"><groupId></span>ch.qos.logback<span class="code-tag"></groupId></span>
                        <span class="code-tag"><artifactId></span>logback-examples<span class="code-tag"></artifactId></span>
                        <span class="code-tag"><version></span>1.1.3<span class="code-tag"></version></span>
                <span class="code-tag"></dependency></span>
                <span class="code-tag"><dependency></span>
                        <span class="code-tag"><groupId></span>org.slf4j<span class="code-tag"></groupId></span>
                        <span class="code-tag"><artifactId></span>slf4j-api<span class="code-tag"></artifactId></span>
                        <span class="code-tag"><version></span>1.7.12<span class="code-tag"></version></span>
                <span class="code-tag"></dependency></span>
                <span class="code-tag"><dependency></span>
                        <span class="code-tag"><groupId></span>ch.qos.logback<span class="code-tag"></groupId></span>
                        <span class="code-tag"><artifactId></span>logback-core<span class="code-tag"></artifactId></span>
                        <span class="code-tag"><version></span>1.1.3<span class="code-tag"></version></span>
                <span class="code-tag"></dependency></span>
        <span class="code-tag"></dependencies></span>
        <span class="code-tag"><properties></span>
                <span class="code-tag"><project.build.sourceEncoding></span>UTF-8<span class="code-tag"></project.build.sourceEncoding></span>
        <span class="code-tag"></properties></span>
<span class="code-tag"></project></span>
</pre>
</div></div>

<p style='margin-top:0;margin-bottom:10px;'>if I comment the lines where it loads the external logback.xml its works without problems loading the logback under /src/main/resource</p>
    </td>
</tr>
                                                <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Environment:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
        <p style='margin-top:0;margin-bottom:10px;'>linux mint 17.2, eclipse luna, java 7, java 8, openjava 7</p>
    </td>
</tr>
                                                <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Project:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
        <a style="color:#326ca6;" href="http://jira.qos.ch/browse/LOGBACK">logback</a>
    </td>
</tr>                                                <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Priority:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
                        <img src="http://jira.qos.ch/images/icons/priorities/major.png" height="16" width="16" border="0" align="absmiddle" alt="Major">                Major
    </td>
</tr>
                        <tr valign="top">
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;">
        <strong style="font-weight:normal;color:#505050;">Reporter:</strong>
    </td>
    <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;">
                                        <a class="user-hover" rel="bsoto" id="email_bsoto" href="http://jira.qos.ch/secure/ViewProfile.jspa?name=bsoto" style="color:#326ca6;">benjamin</a>
                </td>
</tr>                                                                    </table>
                </td>
            </tr>
        </table>
    </td>
</tr>













            </table>
        </td><!-- End #email-page -->
    </tr>
    <tr valign="top">
        <td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:10px;line-height:14px;padding: 0 16px 16px 16px;text-align:center;">
            This message is automatically generated by JIRA.<br />
            If you think it was sent incorrectly, please contact your JIRA administrators<br />
            For more information on JIRA, see: <a style='color:#326ca6;' href='http://www.atlassian.com/software/jira'>http://www.atlassian.com/software/jira</a>
        </td>
    </tr>
</table><!-- End #email-wrap -->
</div><!-- End #email-body -->