Improve logging in remoting, see #3177

* Supress TimeoutReason logging
* Add logTermination in FSM
* Improve some error messages, incl making them unique
* Cookie only logged if debug enabled
This commit is contained in:
Patrik Nordwall 2013-05-30 21:37:57 +02:00
parent 7c1ab68263
commit 1dbe65f53e
8 changed files with 43 additions and 22 deletions

View file

@ -208,7 +208,7 @@ private[remote] class Remoting(_system: ExtendedActorSystem, _provider: RemoteAc
override def quarantine(remoteAddress: Address, uid: Int): Unit = endpointManager match {
case Some(manager) manager ! Quarantine(remoteAddress, uid)
case _ throw new RemoteTransportExceptionNoStackTrace(
s"Attempted to quarantine addres [$remoteAddress] with uid [$uid] but Remoting is not running", null)
s"Attempted to quarantine address [$remoteAddress] with uid [$uid] but Remoting is not running", null)
}
// Not used anywhere only to keep compatibility with RemoteTransport interface