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

@ -156,7 +156,7 @@ private[remote] class Remoting(_system: ExtendedActorSystem, _provider: RemoteAc
override def localAddressForRemote(remote: Address): Address =
Remoting.localAddressForRemote(transportMapping, remote)
val log: LoggingAdapter = Logging(system.eventStream, getClass.getName)
val log: LoggingAdapter = Logging(system.eventStream, getClass)
val eventPublisher = new EventPublisher(system, log, RemoteLifecycleEventsLogLevel)
private def notifyError(msg: String, cause: Throwable): Unit =