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

@ -1405,6 +1405,7 @@ private[stream] object Collect {
override def createLogic(inheritedAttributes: Attributes): GraphStageLogic =
new GraphStageLogic(shape) with InHandler with OutHandler with StageLogging {
override protected def logSource: Class[_] = classOf[Watch[_]]
private lazy val self = getStageActor {
case (_, Terminated(`targetRef`)) =>