#1931 - correcting logging config examples

This commit is contained in:
Viktor Klang 2012-04-08 01:10:19 +02:00
parent 2bb9e79b98
commit a658486d9b
2 changed files with 46 additions and 28 deletions

View file

@ -72,44 +72,52 @@ by Actors:
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like) # enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like)
autoreceive = on autoreceive = on
} }
} }
}
If you want very detailed logging of all lifecycle changes of Actors (restarts, deaths etc): If you want very detailed logging of all lifecycle changes of Actors (restarts, deaths etc):
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable DEBUG logging of actor lifecycle changes # enable DEBUG logging of actor lifecycle changes
lifecycle = on lifecycle = on
} }
} }
}
If you want very detailed logging of all events, transitions and timers of FSM Actors that extend LoggingFSM: If you want very detailed logging of all events, transitions and timers of FSM Actors that extend LoggingFSM:
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable DEBUG logging of all LoggingFSMs for events, transitions and timers # enable DEBUG logging of all LoggingFSMs for events, transitions and timers
fsm = on fsm = on
} }
} }
}
If you want to monitor subscriptions (subscribe/unsubscribe) on the ActorSystem.eventStream: If you want to monitor subscriptions (subscribe/unsubscribe) on the ActorSystem.eventStream:
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable DEBUG logging of subscription changes on the eventStream # enable DEBUG logging of subscription changes on the eventStream
event-stream = on event-stream = on
} }
} }
}
Auxiliary remote logging options Auxiliary remote logging options
-------------------------------- --------------------------------

View file

@ -76,12 +76,14 @@ by Actors that use akka.event.LoggingReceive:
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable function of LoggingReceive, which is to log any received message at # enable function of LoggingReceive, which is to log any received message at
# DEBUG level # DEBUG level
receive = on receive = on
} }
} }
}
If you want very detailed logging of all automatically received messages that are processed If you want very detailed logging of all automatically received messages that are processed
by Actors: by Actors:
@ -89,44 +91,52 @@ by Actors:
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like) # enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like)
autoreceive = on autoreceive = on
} }
} }
}
If you want very detailed logging of all lifecycle changes of Actors (restarts, deaths etc): If you want very detailed logging of all lifecycle changes of Actors (restarts, deaths etc):
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable DEBUG logging of actor lifecycle changes # enable DEBUG logging of actor lifecycle changes
lifecycle = on lifecycle = on
} }
} }
}
If you want very detailed logging of all events, transitions and timers of FSM Actors that extend LoggingFSM: If you want very detailed logging of all events, transitions and timers of FSM Actors that extend LoggingFSM:
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable DEBUG logging of all LoggingFSMs for events, transitions and timers # enable DEBUG logging of all LoggingFSMs for events, transitions and timers
fsm = on fsm = on
} }
} }
}
If you want to monitor subscriptions (subscribe/unsubscribe) on the ActorSystem.eventStream: If you want to monitor subscriptions (subscribe/unsubscribe) on the ActorSystem.eventStream:
.. code-block:: ruby .. code-block:: ruby
akka { akka {
actor {
debug { debug {
# enable DEBUG logging of subscription changes on the eventStream # enable DEBUG logging of subscription changes on the eventStream
event-stream = on event-stream = on
} }
} }
}
Auxiliary remote logging options Auxiliary remote logging options
-------------------------------- --------------------------------