Commit 49fd9796 authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Enable logging of thread ID in Haskell daemons

Signed-off-by: default avatarPetr Pudlak <>
Reviewed-by: default avatarKlaus Aehlig <>
parent 6cfde6d7
......@@ -111,7 +111,7 @@ setupLogging :: Maybe String -- ^ Log file
setupLogging logf program debug stderr_logging console syslog = do
let level = if debug then DEBUG else INFO
destf = if console then Just ConstantUtils.devConsole else logf
fmt = logFormatter program False False
fmt = logFormatter program True False
file_logging = syslog /= SyslogOnly
updateGlobalLogger rootLoggerName (setLevel level)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment