From c6d2fd7e6d0404fe904a6ac0da2d72fdcafd4a1f Mon Sep 17 00:00:00 2001 From: Tymon Tobolski Date: Sat, 28 Jan 2012 18:17:20 +0100 Subject: [PATCH] Fixed akka-docs/java/logging.rst debug configuration --- akka-docs/java/logging.rst | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/akka-docs/java/logging.rst b/akka-docs/java/logging.rst index 7166108306..de75fe3a71 100644 --- a/akka-docs/java/logging.rst +++ b/akka-docs/java/logging.rst @@ -70,9 +70,11 @@ by Actors: .. code-block:: ruby akka { - debug { - # enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like) - autoreceive = on + actor { + debug { + # enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like) + autoreceive = on + } } } @@ -81,9 +83,11 @@ If you want very detailed logging of all lifecycle changes of Actors (restarts, .. code-block:: ruby akka { - debug { - # enable DEBUG logging of actor lifecycle changes - lifecycle = on + actor { + debug { + # enable DEBUG logging of actor lifecycle changes + lifecycle = on + } } } @@ -92,9 +96,11 @@ If you want very detailed logging of all events, transitions and timers of FSM A .. code-block:: ruby akka { - debug { - # enable DEBUG logging of all LoggingFSMs for events, transitions and timers - fsm = on + actor { + debug { + # enable DEBUG logging of all LoggingFSMs for events, transitions and timers + fsm = on + } } } @@ -103,9 +109,11 @@ If you want to monitor subscriptions (subscribe/unsubscribe) on the ActorSystem. .. code-block:: ruby akka { - debug { - # enable DEBUG logging of subscription changes on the eventStream - event-stream = on + actor { + debug { + # enable DEBUG logging of subscription changes on the eventStream + event-stream = on + } } }