Skip to content

Commit

Permalink
Merge pull request #398 from lichess-org/ingestor-logger-name
Browse files Browse the repository at this point in the history
Better logger name for ingestor
  • Loading branch information
lenguyenthanh authored Dec 23, 2024
2 parents c48b0d9 + 5e8bb63 commit 9e46141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ingestor/src/main/scala/ingestor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object Ingestor:
elastic: ESClient[IO],
defaultStartAt: Option[Instant]
)(using LoggerFactory[IO]): Ingestor = new:
given Logger[IO] = LoggerFactory[IO].getLogger
given Logger[IO] = LoggerFactory[IO].getLoggerFromName(s"${index.value}.ingestor")

def watch: IO[Unit] =
fs2.Stream
Expand Down

0 comments on commit 9e46141

Please sign in to comment.