Commit e2625797 authored by Michele Tartara's avatar Michele Tartara

Add debug logging to Confd

Knowing the replies actually sent helps tracking down problems much more
efficiently.
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent 489c9037
......@@ -224,6 +224,7 @@ responder cfgref socket hmac msg peer = do
mcfg <- readIORef cfgref
let response = respondInner mcfg hmac rq
_ <- S.sendTo socket response peer
logDebug $ "Response sent: " ++ response
return ()
Bad err -> logInfo $ "Failed to parse incoming message: " ++ err
return ()
......
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