X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FMain.hs;h=f36e2ba502d743e2d9d9f2665d366df385730a16;hb=a8abe8f8e85662f544235f1d0a43524e5077078a;hp=f2febcb95ced479f1b965e2ea96ef21bf4ab7326;hpb=eb1187607a616b36bb446650dc141019345eed8f;p=dead%2Fhtsn.git diff --git a/src/Main.hs b/src/Main.hs index f2febcb..f36e2ba 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -189,7 +189,7 @@ log_in cfg h = do connect_and_loop :: Configuration -> String -> IO () connect_and_loop cfg host = do - report_info $ "Connecting to " ++ host ++ "..." + report_info $ "Connecting to " ++ host ++ "." bracket acquire_handle release_handle action return () where @@ -247,7 +247,7 @@ main = do -- logging before the missing parameter checks below so that we can -- log the errors. let cfg = (def :: Configuration) `merge_optional` opt_config - init_logging (syslog cfg) + init_logging (log_file cfg) (log_level cfg) (syslog cfg) -- Check the optional config for missing required options. This is -- necessary because if the user specifies an empty list of