switch remoting logging on by default, see #2397

This commit is contained in:
Roland 2012-08-17 12:25:31 +02:00
parent da00a91b34
commit 48ca56459e
3 changed files with 22 additions and 1 deletions

View file

@ -274,6 +274,16 @@ you simply register as listener to the below described types in on the ``ActorSy
To subscribe to any inbound-related events, subscribe to ``RemoteServerLifeCycleEvent``
To subscribe to any remote events, subscribe to ``RemoteLifeCycleEvent``
By default an event listener is registered which logs all of the events
described below. This default was chosen to help setting up a system, but it is
quite common to switch this logging off once that phase of the project is
finished.
.. note::
In order to switch off the logging, set
``akka.remote.log-remote-lifecycle-events = off`` in your
``application.conf``.
To intercept when an outbound connection is disconnected, you listen to ``RemoteClientDisconnected`` which
holds the transport used (RemoteTransport) and the outbound address that was disconnected (Address).