Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
[DEVOPS-1109] Removed redundant logging in log-rotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Triantafyllos committed Oct 24, 2018
1 parent c883cb7 commit 109e9ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion util/src/Pos/Util/Log/Scribes.hs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ mkFileScribe rot sevfilter fdesc formatter colorize s v = do
let tdiff' = round $ diffUTCTime rottime (_itemTime item)
if bytes' < 0 || tdiff' < (0 :: Integer)
then do -- log file rotation
putStrLn $ "rotate! bytes=" ++ (show bytes') ++ " tdiff=" ++ (show tdiff')
hClose hdl
(hdl2, bytes2, rottime2) <- evalRotator rot fdesc
return (hdl2, bytes2, rottime2)
Expand Down

0 comments on commit 109e9ce

Please sign in to comment.