Change documentation to consistently use quotes for log levels. See #2965

This commit is contained in:
Björn Antonsson 2013-02-20 10:07:45 +01:00
parent a94749d577
commit ba957c8356
5 changed files with 16 additions and 14 deletions

View file

@ -13,15 +13,15 @@ object LoggerSpec {
val defaultConfig = ConfigFactory.parseString("""
akka {
stdout-loglevel = WARNING
loglevel = DEBUG
stdout-loglevel = "WARNING"
loglevel = "DEBUG"
}
""").withFallback(AkkaSpec.testConf)
val noLoggingConfig = ConfigFactory.parseString("""
akka {
stdout-loglevel = OFF
loglevel = OFF
stdout-loglevel = "OFF"
loglevel = "OFF"
}
""").withFallback(AkkaSpec.testConf)
}

View file

@ -96,11 +96,11 @@ A custom ``application.conf`` might look like this::
# Log level used by the configured loggers (see "loggers") as soon
# as they have been started; before that, see "stdout-loglevel"
# Options: OFF, ERROR, WARNING, INFO, DEBUG
loglevel = DEBUG
loglevel = "DEBUG"
# Log level for the very basic logger activated during AkkaApplication startup
# Options: OFF, ERROR, WARNING, INFO, DEBUG
stdout-loglevel = DEBUG
stdout-loglevel = "DEBUG"
actor {
default-dispatcher {
@ -222,11 +222,11 @@ from the whole class path, it is easiest to utilize that functionality and
differentiate actor systems within the hierarchy of the configuration::
myapp1 {
akka.loglevel = WARNING
akka.loglevel = "WARNING"
my.own.setting = 43
}
myapp2 {
akka.loglevel = ERROR
akka.loglevel = "ERROR"
app2.setting = "appname"
}
my.own.setting = 42
@ -245,15 +245,17 @@ system is this
.. code-block:: ruby
akka.loglevel = WARNING
akka.loglevel = "WARNING"
my.own.setting = 43
my.other.setting = "hello"
// plus myapp1 and myapp2 subtrees
while in the second one, only the “akka” subtree is lifted, with the following
result::
result
akka.loglevel = ERROR
.. code-block:: ruby
akka.loglevel = "ERROR"
my.own.setting = 42
my.other.setting = "hello"
// plus myapp1 and myapp2 subtrees

View file

@ -618,7 +618,7 @@ All these messages are logged at ``DEBUG`` level. To summarize, you can enable
full logging of actor activities using this configuration fragment::
akka {
loglevel = DEBUG
loglevel = "DEBUG"
actor {
debug {
autoreceive = on

View file

@ -23,7 +23,7 @@ object FaultHandlingDocSample extends App {
import Worker._
val config = ConfigFactory.parseString("""
akka.loglevel = DEBUG
akka.loglevel = "DEBUG"
akka.actor.debug {
receive = on
lifecycle = on

View file

@ -698,7 +698,7 @@ All these messages are logged at ``DEBUG`` level. To summarize, you can enable
full logging of actor activities using this configuration fragment::
akka {
loglevel = DEBUG
loglevel = "DEBUG"
actor {
debug {
receive = on