<div dir="ltr"><div><div><div>Hi Ceki,<br><br></div>Thank you for responding. Of the stuff on my classpath, the only thing I haven't used in other projects is neo4j. Though I don't generally pay much attention to the classpath order.<br><br></div>Thank you,<br><br></div>Donald<br><div><div><div><br>Classpath items: <br><br><br>IntelliJIdea2017.1/Scala/lib/scala-plugin-runners.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/charsets.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/deploy.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/cldrdata.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/dnsns.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/jaccess.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/jfxrt.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/localedata.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/nashorn.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/sunec.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/zipfs.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/javaws.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/jce.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/jfr.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/jfxswt.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/jsse.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/management-agent.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/plugin.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/resources.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/jre/lib/rt.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/lib/ant-javafx.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/lib/dt.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/lib/javafx-mx.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/lib/jconsole.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/lib/packager.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/lib/sa-jdi.jar<br><br>jdk1.8.0_91.jdk/Contents/Home/lib/tools.jar<br><br>scala-2.12.1/lib/scala-library.jar<br><br>scala-2.12.1/lib/scala-parser-combinators_2.12-1.0.4.jar<br><br>scala-2.12.1/lib/scala-reflect.jar<br><br>scala-2.12.1/lib/scala-swing_2.12-2.0.0-M2.jar<br><br>scala-2.12.1/lib/scala-xml_2.12-1.0.6.jar<br><br>logback-1.2.1/logback-core-1.2.1.jar<br><br>logback-1.2.1/logback-classic-1.2.1.jar<br><br>slf4j-1.7.12/slf4j-api-1.7.12.jar<br><br>junit-4.12/hamcrest-core-1.3.jar<br><br>junit-4.12/junit-4.12.jar<br><br>lift-3.0.1/lib/lift-actor_2.12-3.0.1.jar<br><br>lift-3.0.1/lib/lift-common_2.12-3.0.1.jar<br><br>lift-3.0.1/lib/lift-json_2.12-3.0.1.jar<br><br>lift-3.0.1/lib/lift-json-ext_2.12-3.0.1.jar<br><br>lift-3.0.1/lib/lift-markdown_2.12-3.0.1.jar<br><br>lift-3.0.1/lib/lift-util_2.12-3.0.1.jar<br><br>lift-3.0.1/lib/lift-webkit_2.12-3.0.1.jar<br><br>lift-3.0.1/lib/lift-mapper_2.12-3.0.1.jar<br><br>commons-io-2.4/commons-io-2.4.jar<br><br>commons-lang3-3.4/commons-lang3-3.4.jar<br><br>joda-time-2.9.7/joda-time-2.9.7.jar<br><br>joda-convert-1.8.1/joda-convert-1.8.1.jar<br><br>neo4j-3.0.7/neo4j-java-driver-1.0.6.jar<br><br>db-derby-10.13.1.1-bin/lib/derby.jar<br><br>db-derby-10.13.1.1-bin/lib/derbytools.jar<br><br>hibernate-release-5.2.5.Final/lib/required/antlr-2.7.7.jar<br><br>hibernate-release-5.2.5.Final/lib/required/cdi-api-1.1.jar<br><br>hibernate-release-5.2.5.Final/lib/required/classmate-1.3.0.jar<br><br>hibernate-release-5.2.5.Final/lib/required/dom4j-1.6.1.jar<br><br>hibernate-release-5.2.5.Final/lib/required/el-api-2.2.jar<br><br>hibernate-release-5.2.5.Final/lib/required/geronimo-jta_1.1_spec-1.1.1.jar<br><br>hibernate-release-5.2.5.Final/lib/required/hibernate-commons-annotations-5.0.1.Final.jar<br><br>hibernate-release-5.2.5.Final/lib/required/hibernate-core-5.2.5.Final.jar<br><br>hibernate-release-5.2.5.Final/lib/required/hibernate-jpa-2.1-api-1.0.0.Final.jar<br><br>hibernate-release-5.2.5.Final/lib/required/jandex-2.0.3.Final.jar<br><br>hibernate-release-5.2.5.Final/lib/required/javassist-3.20.0-GA.jar<br><br>hibernate-release-5.2.5.Final/lib/required/javax.inject-1.jar<br><br>hibernate-release-5.2.5.Final/lib/required/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar<br><br>hibernate-release-5.2.5.Final/lib/required/jboss-logging-3.3.0.Final.jar<br><br>hibernate-release-5.2.5.Final/lib/required/jsr250-api-1.0.jar<br><br>scalatest-3.0.1/scalactic_2.12-3.0.1.jar<br><br>scalatest-3.0.1/scalatest-app_2.12-3.0.1.jar<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 14, 2017 at 1:03 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>
Hi Donald,<br>
<br>
The following error will disappear with logback-core/logback-classic version 1.2.x.<span class=""><br>
<br>
no applicable action for [immediateFlush], current ElementPath is [[configuration][appender][imm<wbr>ediateFlush]]<br>
<br></span>
In addition, I recommend that you enable logback's internal messages with:<br>
<br>
<configuration debug="true"><br>
</configuration><br>
<br>
Having said that, given the status messages you provided, if logs are going to STDOUT, then logs are being hijacked by some other component. What's on your classpath?<br>
<br>
--<br>
Ceki<div><div class="h5"><br>
<br>
<br>
On 3/14/2017 16:50, 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">
The config shown below is creating the file, but nothing is writing to<br>
it, and some classes are not logging at all. Those that do log, 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 - debug<br>
attribute not set<br>
INFO in ch.qos.logback.core.joran.acti<wbr>on.TimestampAction - Using 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 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 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 [encoder] property<br>
INFO in ch.qos.logback.core.FileAppend<wbr>er[FILE] - File property is set to<br>
[GraphDBTest-20170314T113135.l<wbr>og]<br>
INFO in ch.qos.logback.classic.joran.a<wbr>ction.RootLoggerAction - Setting<br>
level of ROOT logger to TRACE<br>
INFO in ch.qos.logback.core.joran.acti<wbr>on.AppenderRefAction - Attaching<br>
appender named [FILE] to Logger[ROOT]<br>
INFO in ch.qos.logback.classic.joran.a<wbr>ction.ConfigurationAction - 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>" key="bySecond"/><br>
<br>
<appender class="ch.qos.logback.core.Fil<wbr>eAppender" 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></div></div></blockquote></blockquote></div></div></div></div></div></div>