Hello,
When I fire up my ActorSystem I get a block of logs like this:
15:05:24,742 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback.groovy]
15:05:24,742 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]
15:05:24,742 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Found resource [logback.xml] at
[file:/Users/greg.zoller/git/shock/core/target/scala-2.10/test-classes/logback.xml]
15:05:24,742 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs multiple times on the classpath.
15:05:24,742 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs at
[file:/Users/greg.zoller/git/shock/core/target/scala-2.10/test-classes/logback.xml]
15:05:24,742 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs at
[file:/Users/greg.zoller/git/shock/core/src/test/resources/logback.xml]
15:05:24,785 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute
not set
15:05:24,791 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:05:24,795 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [STDOUT]
15:05:24,805 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default
type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder]
property
15:05:24,825 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction
- Setting level of ROOT logger to ERROR
15:05:24,825 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction -
Attaching appender named [STDOUT] to Logger[ROOT]
15:05:24,826 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - End of
configuration.
15:05:24,826 |-INFO in
ch.qos.logback.classic.joran.JoranConfigurator@396ab2e8 - Registering
current configuration as safe fallback point
Especially for testing, I'd like not to see these. How can I disable them?
The config for my ActorSystem is this:
val cfg = ConfigFactory.parseString(s"""
akka {
loglevel = "ERROR"
stdout-loglevel = "ERROR"
loggers = ["akka.event.slf4j.Slf4jLogger"]
log-dead-letters-during-shutdown = off
}
akka.actor.provider = "akka.remote.RemoteActorRefProvider"
akka.remote.netty.tcp.port = 9025
""").withFallback(ConfigFactory.load)
as = Some(ActorSystem("httpAS",cfg))
I've tried setting the log level and stdout-loglevel to "OFF" but got the
same results.
Thanks for any ideas.
Greg
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.