temporarily always debug
This commit is contained in:
parent
6116f0af24
commit
d07edfdbeb
|
@ -349,14 +349,13 @@ getRepoUrl = getM get urls
|
||||||
checkDebugMode :: IO ()
|
checkDebugMode :: IO ()
|
||||||
checkDebugMode = go =<< getEnv "PROPELLOR_DEBUG"
|
checkDebugMode = go =<< getEnv "PROPELLOR_DEBUG"
|
||||||
where
|
where
|
||||||
go (Just s)
|
go _ = do
|
||||||
| s == "1" = do
|
|
||||||
f <- setFormatter
|
f <- setFormatter
|
||||||
<$> streamHandler stderr DEBUG
|
<$> streamHandler stderr DEBUG
|
||||||
<*> pure (simpleLogFormatter "[$time] $msg")
|
<*> pure (simpleLogFormatter "[$time] $msg")
|
||||||
updateGlobalLogger rootLoggerName $
|
updateGlobalLogger rootLoggerName $
|
||||||
setLevel DEBUG . setHandlers [f]
|
setLevel DEBUG . setHandlers [f]
|
||||||
go _ = noop
|
-- go _ = noop
|
||||||
|
|
||||||
-- Parameters can be passed to both ssh and scp, to enable a ssh connection
|
-- Parameters can be passed to both ssh and scp, to enable a ssh connection
|
||||||
-- caching socket.
|
-- caching socket.
|
||||||
|
|
Loading…
Reference in New Issue