I'm running the app with "sbt run" (which I mentioned), and the output
clearly states that logback does not find logback.groovy, logback-
test.xml, but that it finds logback.xml.
I managed to figure out that the problem was that it found multiple
configuration files (it was the same file that had been copied to
multiple locations by sbt, mostly because I had fiddled too much with
the settings), now logback is silent. however I still see these
messages (seems to be from some dependency of akka):
INF [20101104-08:29:56.829] api: Initializing GlobalStmInstance using
factoryMethod 'org.multiverse.stms.alpha.AlphaStm.createFast'.
INF [20101104-08:29:56.843] alpha: Created a new AlphaStm instance
INF [20101104-08:29:56.844] api: Successfully initialized
GlobalStmInstance using factoryMethod
'org.multiverse.stms.alpha.AlphaStm.createFast'.
the log format does not match the format in the logback config, so I
assume that this library uses some other logging framework. does
anyone know which, or how to make it log through logback so that I can
tell it to keep quiet?
just to show that it's definitely not going through logback, here's
the output if I set akka's log level to INFO:
[INFO] [2010-11-04 08:34:29,124] [run-main] a.c.ConfigLogger$: Config
[akka.conf] loaded from the application classpath.
INF [20101104-08:34:29.229] api: Initializing GlobalStmInstance using
factoryMethod 'org.multiverse.stms.alpha.AlphaStm.createFast'.
INF [20101104-08:34:29.240] alpha: Created a new AlphaStm instance
INF [20101104-08:34:29.241] api: Successfully initialized
GlobalStmInstance using factoryMethod
'org.multiverse.stms.alpha.AlphaStm.createFast'.
and adding <logger name="org.multiverse" level="WARN"/> to logback.xml
does not work.
T#
On Nov 3, 10:17 pm, √iktor Klang <
viktor.kl...@gmail.com> wrote:
> On Wed, Nov 3, 2010 at 9:01 PM, Irmo Manie <
irmo.ma...@gmail.com> wrote:
> > What I figured out is that from within sbt the logback-test.xml is
> > used. Try editing that one to a silence mode :)
>
> The logback-test.xml shouldn't be in the dist, and if the users project is
> depending on Akka, no logback-test.xml should be present in the deps.
> As I said earlier, it really helps if I know what environment/context it's
> used in. But that information is good for all people hacking on Akka itself
> :-)
>
>
>
>
>
>
>
> > On Wed, Nov 3, 2010 at 8:43 PM, √iktor Klang <
viktor.kl...@gmail.com>
> > wrote:
> > >>
akka-user+...@googlegroups.com<akka-user%2Bunsubscribe@googlegroups .com>
> > .
> > >
akka-user+...@googlegroups.com<akka-user%2Bunsubscribe@googlegroups .com>
> > .
> >
akka-user+...@googlegroups.com<akka-user%2Bunsubscribe@googlegroups .com>
> > .
> Work: Scalable Solutions <
http://www.scalablesolutions.se>