Change logging of actor failures
remove the automatic logging of failures inside the failing actor, for instance: publish(Error(t, self.path.toString, clazz(actor), message)) in handleInvokeFailure.
Then add default logging of failures in the defaultStrategy, so if/when users want to customize log output they can just create their own supervisor strategy.
Then add default logging of failures in the defaultStrategy, so if/when users want to customize log output they can just create their own supervisor strategy.
Leave a comment
on 2013-03-06 09:49 *
By viktorklang
Create a method inside Actor that returns the Directive, then the logging can be done from within there, then deprecate supervisorStrategy, default impl of the method should invoke supervisorStrategy
on 2013-03-06 16:14 *
By Patrik Nordwall
Assigned to set to Patrik Nordwall
Status changed from New to Accepted
on 2013-03-07 11:31 *
By Patrik Nordwall
The comment about a new method inside Actor doesn't make sense to me, because SupervisorStrategy is much more and the directive. My proposal is here: https://github.com/akka/akka/pull/1228