Skip to content

Commit

Permalink
Log server options
Browse files Browse the repository at this point in the history
  • Loading branch information
eikek committed Apr 14, 2022
1 parent e7a0f92 commit 46f65b1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ object RestServer {
.map(_ => KeepAlive)
.through(wsTopic.publish)

logger = docspell.logging.getLogger[F]
_ <- logger.info(s"Starting server with options ${cfg.serverOptions}")

server =
Stream
.resource(createApp(cfg, pools, wsTopic))
Expand Down

0 comments on commit 46f65b1

Please sign in to comment.