<div dir="ltr">Since I use an IDE, I can't use the $JARS trick, but I went through the list library by library and the only ones that reference that class are SLF4J (surprise!) and Logback (surprise!).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 14, 2017 at 2:13 PM, Ceki Gülcü <span dir="ltr"><<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
jboss-logging-3.3.0.Final.jar might be the culprit.<br>
<br>
If not, I suggest that you go through all the jars and check whether they contain the org.slf4j.impl.StaticLoggerBin<wbr>der class<br>
<br>
Assuming JARS environment variable contains the list of your jar files, the following Unix command works:<br>
<br>
for i in $JARS; do echo $i; jar tvf $i| grep StaticLoggerBinder; done<div><div class="h5"><br>
<br>
On 3/14/2017 19:05, Donald McLean 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">
Hi Ceki,<br>
<br>
Thank you for responding. Of the stuff on my classpath, the only thing I<br>
haven't used in other projects is neo4j. Though I don't generally pay<br>
much attention to the classpath order.<br>
<br>
Thank you,<br>
<br>
Donald<br>
<br>
Classpath items:<br>
<br>
<br>
IntelliJIdea2017.1/Scala/lib/s<wbr>cala-plugin-runners.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/charsets.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/deploy.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/cldrdata.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/dnsns.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/jaccess.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/jfxrt.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/localedata.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/nashorn.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/sunec.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/sunjce_provider.ja<wbr>r<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/sunpkcs11.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/ext/zipfs.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/javaws.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/jce.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/jfr.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/jfxswt.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/jsse.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/management-agent.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/plugin.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/resources.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>jre/lib/rt.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>lib/ant-javafx.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>lib/dt.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>lib/javafx-mx.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>lib/jconsole.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>lib/packager.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>lib/sa-jdi.jar<br>
<br>
jdk1.8.0_91.jdk/Contents/Home/<wbr>lib/tools.jar<br>
<br>
scala-2.12.1/lib/scala-library<wbr>.jar<br>
<br>
scala-2.12.1/lib/scala-parser-<wbr>combinators_2.12-1.0.4.jar<br>
<br>
scala-2.12.1/lib/scala-reflect<wbr>.jar<br>
<br>
scala-2.12.1/lib/scala-swing_2<wbr>.12-2.0.0-M2.jar<br>
<br>
scala-2.12.1/lib/scala-xml_2.1<wbr>2-1.0.6.jar<br>
<br>
logback-1.2.1/logback-core-1.2<wbr>.1.jar<br>
<br>
logback-1.2.1/logback-classic-<wbr>1.2.1.jar<br>
<br>
slf4j-1.7.12/slf4j-api-1.7.12.<wbr>jar<br>
<br>
junit-4.12/hamcrest-core-1.3.j<wbr>ar<br>
<br>
junit-4.12/junit-4.12.jar<br>
<br>
lift-3.0.1/lib/lift-actor_2.12<wbr>-3.0.1.jar<br>
<br>
lift-3.0.1/lib/lift-common_2.1<wbr>2-3.0.1.jar<br>
<br>
lift-3.0.1/lib/lift-json_2.12-<wbr>3.0.1.jar<br>
<br>
lift-3.0.1/lib/lift-json-ext_2<wbr>.12-3.0.1.jar<br>
<br>
lift-3.0.1/lib/lift-markdown_2<wbr>.12-3.0.1.jar<br>
<br>
lift-3.0.1/lib/lift-util_2.12-<wbr>3.0.1.jar<br>
<br>
lift-3.0.1/lib/lift-webkit_2.1<wbr>2-3.0.1.jar<br>
<br>
lift-3.0.1/lib/lift-mapper_2.1<wbr>2-3.0.1.jar<br>
<br>
commons-io-2.4/commons-io-2.4.<wbr>jar<br>
<br>
commons-lang3-3.4/commons-lang<wbr>3-3.4.jar<br>
<br>
joda-time-2.9.7/joda-time-2.9.<wbr>7.jar<br>
<br>
joda-convert-1.8.1/joda-conver<wbr>t-1.8.1.jar<br>
<br>
neo4j-3.0.7/neo4j-java-driver-<wbr>1.0.6.jar<br>
<br>
db-derby-10.13.1.1-bin/lib/der<wbr>by.jar<br>
<br>
db-derby-10.13.1.1-bin/lib/der<wbr>bytools.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/antlr-2.7.7.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/cdi-api-1.1.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/classmate-1.3.0.j<wbr>ar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/dom4j-1.6.1.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/el-api-2.2.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/geronimo-jta_1.1_<wbr>spec-1.1.1.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/hibernate-commons<wbr>-annotations-5.0.1.Final.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/hibernate-core-5.<wbr>2.5.Final.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/hibernate-jpa-2.1<wbr>-api-1.0.0.Final.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/jandex-2.0.3.Fina<wbr>l.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/javassist-3.20.0-<wbr>GA.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/javax.inject-1.ja<wbr>r<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/jboss-interceptor<wbr>s-api_1.1_spec-1.0.0.Beta1.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/jboss-logging-3.3<wbr>.0.Final.jar<br>
<br>
hibernate-release-5.2.5.Final/<wbr>lib/required/jsr250-api-1.0.ja<wbr>r<br>
<br>
scalatest-3.0.1/scalactic_2.12<wbr>-3.0.1.jar<br>
<br>
scalatest-3.0.1/scalatest-app_<wbr>2.12-3.0.1.jar<br>
<br>
On Tue, Mar 14, 2017 at 1:03 PM, Ceki Gülcü <<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a><br></div></div><div><div class="h5">
<mailto:<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>>> wrote:<br>
<br>
<br>
    Hi Donald,<br>
<br>
    The following error will disappear with logback-core/logback-classic<br>
    version 1.2.x.<br>
<br>
    no applicable action for [immediateFlush], current ElementPath  is<br>
    [[configuration][appender][imm<wbr>ediateFlush]]<br>
<br>
    In addition, I recommend that you enable logback's internal messages<br>
    with:<br>
<br>
    <configuration debug="true"><br>
    </configuration><br>
<br>
    Having said that, given the status messages you provided, if logs<br>
    are going to STDOUT, then logs are being hijacked by some other<br>
    component. What's on your classpath?<br>
<br>
    --<br>
    Ceki<br>
<br>
<br>
<br>
    On 3/14/2017 16:50, Donald McLean wrote:<br>
<br>
        The config shown below is creating the file, but nothing is<br>
        writing to<br>
        it, and some classes are not logging at all. Those that do log,<br>
        it's all<br>
        going to stdout. Obviously, I've done something stupid, but I can't<br>
        figure out what.<br>
<br>
        Here is some output from stdout that looks like it's from logback:<br>
<br>
        Got 12 errors.<br>
        INFO in ch.qos.logback.classic.joran.a<wbr>ction.ConfigurationAction<br>
        - debug<br>
        attribute not set<br>
        INFO in ch.qos.logback.core.joran.acti<wbr>on.TimestampAction - Using<br>
        current<br>
        interpretation time, i.e. now, as time reference.<br>
        INFO in ch.qos.logback.core.joran.acti<wbr>on.TimestampAction - Adding<br>
        property to the context with key="bySecond" and<br>
        value="20170314T113135"<br>
        to the LOCAL scope<br>
        INFO in ch.qos.logback.core.joran.acti<wbr>on.AppenderAction - About to<br>
        instantiate appender of type [ch.qos.logback.core.FileAppen<wbr>der]<br>
        INFO in ch.qos.logback.core.joran.acti<wbr>on.AppenderAction - Naming<br>
        appender as [FILE]<br>
        ERROR in ch.qos.logback.core.joran.spi.<wbr>Interpreter@7:33 - no<br>
        applicable<br>
        action for [immediateFlush], current ElementPath  is<br>
        [[configuration][appender][imm<wbr>ediateFlush]]<br>
        INFO in ch.qos.logback.core.joran.acti<wbr>on.NestedComplexPropertyIA -<br>
        Assuming default type<br>
        [ch.qos.logback.classic.encode<wbr>r.PatternLayoutEncoder] for<br>
        [encoder] property<br>
        INFO in ch.qos.logback.core.FileAppend<wbr>er[FILE] - File property<br>
        is set to<br>
        [GraphDBTest-20170314T113135.l<wbr>og]<br>
        INFO in ch.qos.logback.classic.joran.a<wbr>ction.RootLoggerAction -<br>
        Setting<br>
        level of ROOT logger to TRACE<br>
        INFO in ch.qos.logback.core.joran.acti<wbr>on.AppenderRefAction -<br>
        Attaching<br>
        appender named [FILE] to Logger[ROOT]<br>
        INFO in ch.qos.logback.classic.joran.a<wbr>ction.ConfigurationAction<br>
        - End of<br>
        configuration.<br>
        INFO in ch.qos.logback.classic.joran.J<wbr>oranConfigurator@13b6aecc -<br>
        Registering current configuration as safe fallback point<br>
<br>
        I would really appreciate a suggestion as to what I'm doing wrong.<br>
<br>
        Thank you,<br>
<br>
        Donald<br>
<br>
<br>
        <configuration><br>
<br>
                    <timestamp datePattern="yyyyMMdd'T'HHmmss<wbr>"<br>
        key="bySecond"/><br>
<br>
                    <appender class="ch.qos.logback.core.Fil<wbr>eAppender"<br>
        name="FILE"><br>
                        <file>GraphDBTest-${bySecond}.<wbr>log</file><br>
                        <immediateFlush>true</immediat<wbr>eFlush><br>
<br>
                        <encoder><br>
                            <pattern>%date %level [%thread] %logger{10}<br>
        [%file:%line] %msg%n</pattern><br>
                        </encoder><br>
                    </appender><br>
<br>
                    <root level="TRACE"><br>
                        <appender-ref ref="FILE"/><br>
                    </root><br>
<br>
                </configuration><br>
<br>
<br>
<br></div></div><span class="">
______________________________<wbr>_________________<br>
logback-user mailing list<br>
<a href="mailto:logback-user@qos.ch" target="_blank">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/<wbr>listinfo/logback-user</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
______________________________<wbr>_________________<br>
logback-user mailing list<br>
<a href="mailto:logback-user@qos.ch" target="_blank">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/<wbr>listinfo/logback-user</a></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Family photographs are a critical legacy for<br>ourselves and our descendants. Protect that<br>legacy with a digital backup and recovery plan.</div>
</div>