Reduce unwanted logging from remoting, see #2826

* Handle logging in EndpointManager supervisorStrategy
* Added some more exception types to be able to differentiate
  failures
This commit is contained in:
Patrik Nordwall 2013-03-07 18:08:07 +01:00
parent f4d59383d7
commit a67fa18f8d
4 changed files with 49 additions and 24 deletions

View file

@ -137,9 +137,10 @@ class RemotingSpec extends AkkaSpec(RemotingSpec.cfg) with ImplicitSender with D
}
"send error message for wrong address" in {
filterEvents(EventFilter[EndpointException](occurrences = 6), EventFilter.error(start = "Association", occurrences = 6)) {
system.actorFor("akka.test://nonexistingsystem@localhost:12346/user/echo") ! "ping"
}
filterEvents(EventFilter.error(start = "Association", occurrences = 6),
EventFilter.warning(pattern = ".*dead letter.*echo.*", occurrences = 1)) {
system.actorFor("akka.test://nonexistingsystem@localhost:12346/user/echo") ! "ping"
}
}
"support ask" in {