mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-15 08:24:39 +00:00
Improve session router name for log output purposes
This commit is contained in:
parent
eb03372db7
commit
9a0ef28723
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ case class SessionState(id : Long, address : InetSocketAddress, pipeline : List[
|
||||||
case class SessionPipeline(nameTemplate : String, props : Props)
|
case class SessionPipeline(nameTemplate : String, props : Props)
|
||||||
|
|
||||||
class SessionRouter(pipeline : List[SessionPipeline]) extends Actor with MDCContextAware {
|
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 idBySocket = mutable.Map[InetSocketAddress, Long]()
|
||||||
val sessionById = mutable.Map[Long, SessionState]()
|
val sessionById = mutable.Map[Long, SessionState]()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue