propellor spin

This commit is contained in:
Joey Hess 2014-05-11 10:20:18 -03:00
parent 38cedccdf5
commit 43a23578eb
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ checkDebugMode = go =<< getEnv "PROPELLOR_DEBUG"
setLevel DEBUG . setHandlers [f]
go _ = whenM ((==) "root" <$> myUserName) $ do
f <- setFormatter
<$> fileHandler "/usr/local/bin/propellor/log" DEBUG
<$> fileHandler "/usr/local/propellor/log" DEBUG
<*> pure (simpleLogFormatter "[$time] $msg")
updateGlobalLogger rootLoggerName $
setLevel DEBUG . setHandlers [f]