#1931 - correcting logging config examples
This commit is contained in:
parent
2bb9e79b98
commit
a658486d9b
2 changed files with 46 additions and 28 deletions
|
|
@ -72,9 +72,11 @@ by Actors:
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like)
|
debug {
|
||||||
autoreceive = on
|
# enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like)
|
||||||
|
autoreceive = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -83,9 +85,11 @@ If you want very detailed logging of all lifecycle changes of Actors (restarts,
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable DEBUG logging of actor lifecycle changes
|
debug {
|
||||||
lifecycle = on
|
# enable DEBUG logging of actor lifecycle changes
|
||||||
|
lifecycle = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -94,9 +98,11 @@ If you want very detailed logging of all events, transitions and timers of FSM A
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable DEBUG logging of all LoggingFSMs for events, transitions and timers
|
debug {
|
||||||
fsm = on
|
# enable DEBUG logging of all LoggingFSMs for events, transitions and timers
|
||||||
|
fsm = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -105,9 +111,11 @@ If you want to monitor subscriptions (subscribe/unsubscribe) on the ActorSystem.
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable DEBUG logging of subscription changes on the eventStream
|
debug {
|
||||||
event-stream = on
|
# enable DEBUG logging of subscription changes on the eventStream
|
||||||
|
event-stream = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,10 +76,12 @@ by Actors that use akka.event.LoggingReceive:
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable function of LoggingReceive, which is to log any received message at
|
debug {
|
||||||
# DEBUG level
|
# enable function of LoggingReceive, which is to log any received message at
|
||||||
receive = on
|
# DEBUG level
|
||||||
|
receive = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -89,9 +91,11 @@ by Actors:
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like)
|
debug {
|
||||||
autoreceive = on
|
# enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill and the like)
|
||||||
|
autoreceive = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -100,9 +104,11 @@ If you want very detailed logging of all lifecycle changes of Actors (restarts,
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable DEBUG logging of actor lifecycle changes
|
debug {
|
||||||
lifecycle = on
|
# enable DEBUG logging of actor lifecycle changes
|
||||||
|
lifecycle = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -111,9 +117,11 @@ If you want very detailed logging of all events, transitions and timers of FSM A
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable DEBUG logging of all LoggingFSMs for events, transitions and timers
|
debug {
|
||||||
fsm = on
|
# enable DEBUG logging of all LoggingFSMs for events, transitions and timers
|
||||||
|
fsm = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -122,9 +130,11 @@ If you want to monitor subscriptions (subscribe/unsubscribe) on the ActorSystem.
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
akka {
|
akka {
|
||||||
debug {
|
actor {
|
||||||
# enable DEBUG logging of subscription changes on the eventStream
|
debug {
|
||||||
event-stream = on
|
# enable DEBUG logging of subscription changes on the eventStream
|
||||||
|
event-stream = on
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue