multi-project builds - problem with logging
Hi
I've converted to a multi-project sbt build.
A problem I'm encountering concerns logging. For some reason it now all goes to the console instead of the log file. I also get this:
>>>>>>>
[DEBUG] [11/27/2015 15:25:07.183] [main] [EventStream(akka://default)] logger log1-Logging$DefaultLogger started
[DEBUG] [11/27/2015 15:25:07.183] [main] [EventStream(akka://default)] Default Loggers started
15:25:07,264 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
15:25:07,264 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/home/timpigden/code/vrp/vrpstore/target/scala-2.11/test-classes/logback-test.xml]
15:25:07,265 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs multiple times on the classpath.
15:25:07,265 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/home/timpigden/code/vrp/modeljson/target/scala-2.11/test-classes/logback-test.xml]
15:25:07,265 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/home/timpigden/code/vrp/scalautil/target/scala-2.11/test-classes/logback-test.xml]
15:25:07,265 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/home/timpigden/code/vrp/sql/target/scala-2.11/test-classes/logback-test.xml]
15:25:07,265 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/home/timpigden/code/vrp/vrpmodel/target/scala-2.11/test-classes/logback-test.xml]
15:25:
>>>>>>>
so in running tests in a sub project I automatically end up searching all the other test folders in the other sub-projects. Is there a way of controlling this please?
Tim
Please sign in to leave a comment.