mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-19 18:14:44 +00:00
Improve session router name for log output purposes
This commit is contained in:
parent
eb03372db7
commit
9a0ef28723
|
|
@ -21,7 +21,7 @@ case class SessionState(id : Long, address : InetSocketAddress, pipeline : List[
|
|||
case class SessionPipeline(nameTemplate : String, props : Props)
|
||||
|
||||
class SessionRouter(pipeline : List[SessionPipeline]) extends Actor with MDCContextAware {
|
||||
private[this] val log = org.log4s.getLogger
|
||||
private[this] val log = org.log4s.getLogger(self.path.name)
|
||||
|
||||
val idBySocket = mutable.Map[InetSocketAddress, Long]()
|
||||
val sessionById = mutable.Map[Long, SessionState]()
|
||||
|
|
|
|||
Loading…
Reference in a new issue