Skip to content

Commit

Permalink
Try to fix the logs display
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Mar 17, 2023
1 parent 3d1c988 commit 58e6415
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydra-node/src/Hydra/Logging.hs
Expand Up @@ -105,7 +105,8 @@ withTracerOutputTo ::
withTracerOutputTo hdl namespace action = do
msgQueue <- newTBQueueIO @_ @(Envelope msg) defaultQueueSize
withAsync (writeLogs msgQueue) $ \_ ->
action (tracer msgQueue) `finally` flushLogs msgQueue
action (tracer msgQueue)
`finally` flushLogs msgQueue
where
tracer queue =
Tracer $
Expand Down

0 comments on commit 58e6415

Please sign in to comment.