More structured logger names, #27922 (#27934)

* some cluster logging improvements
* most logger names are actually good, when using ActorLogging since
  config can be setup on the package (prefix)
* override logSource when StageLogging is used
* replace system.log with more specific logger
This commit is contained in:
Patrik Nordwall 2019-10-14 17:55:12 +02:00 committed by GitHub
parent 6557967d88
commit 4e8a5d333b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 214 additions and 67 deletions

View file

@ -428,7 +428,7 @@ private[akka] class Controller(private var initialParticipants: Int, controllerP
Server,
controllerPort,
settings.ServerSocketWorkerPoolSize,
new ConductorHandler(settings.QueryTimeout, self, Logging(context.system, classOf[ConductorHandler].getName)))
new ConductorHandler(settings.QueryTimeout, self, Logging(context.system, classOf[ConductorHandler])))
/*
* Supervision of the BarrierCoordinator means to catch all his bad emotions

View file

@ -179,7 +179,7 @@ private[akka] class ClientFSM(name: RoleName, controllerAddr: InetSocketAddress)
settings.ReconnectBackoff,
settings.ClientSocketWorkerPoolSize,
self,
Logging(context.system, classOf[PlayerHandler].getName),
Logging(context.system, classOf[PlayerHandler]),
context.system.scheduler)(context.dispatcher)
startWith(Connecting, Data(None, None))