diff options
| author | Joey Hess <joey@kitenet.net> | 2014-05-14 19:34:26 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-05-14 19:34:26 -0400 |
| commit | 5a5adab86788d93103803df27a1004d0d9696b1d (patch) | |
| tree | 4ebf8c49ff97fbd2b35d06eaced0b4794a17cc31 /Propellor/CmdLine.hs | |
| parent | ffce1f80ae3c492fe768666a00df396448ad6368 (diff) | |
remove simplsh debug code
Seems I have really fixed that bug!
Diffstat (limited to 'Propellor/CmdLine.hs')
| -rw-r--r-- | Propellor/CmdLine.hs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Propellor/CmdLine.hs b/Propellor/CmdLine.hs index b69f9aaa..ab1d7f9e 100644 --- a/Propellor/CmdLine.hs +++ b/Propellor/CmdLine.hs @@ -354,12 +354,7 @@ checkDebugMode = go =<< getEnv "PROPELLOR_DEBUG" <*> pure (simpleLogFormatter "[$time] $msg") updateGlobalLogger rootLoggerName $ setLevel DEBUG . setHandlers [f] - go _ = whenM ((==) "root" <$> myUserName) $ do - f <- setFormatter - <$> fileHandler "/usr/local/propellor/log" DEBUG - <*> pure (simpleLogFormatter "[$time] $msg") - updateGlobalLogger rootLoggerName $ - setLevel DEBUG . setHandlers [f] + go _ = noop -- Parameters can be passed to both ssh and scp, to enable a ssh connection -- caching socket. |
