mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 09:21:42 +03:00
king: change logging from tracing to info in Wai.hs
I noticed that the king's text log file kept filling up, and it's mostly 'sending chunk "\n"' from eyre. This changes the log level of every partial send over an active eyre channel to info, instead of always.
This commit is contained in:
parent
626c4671da
commit
ecbcdf7d00
@ -179,7 +179,7 @@ streamBlocks env init getAct = send init >> loop
|
||||
|
||||
send "" = pure ()
|
||||
send c = do
|
||||
runRIO env (logTrace (display ("sending chunk " <> tshow c)))
|
||||
runRIO env (logInfo (display ("sending chunk " <> tshow c)))
|
||||
yield $ Chunk $ fromByteString c
|
||||
yield Flush
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user