From: Michael Orlitzky Date: Fri, 10 Jan 2014 04:04:15 +0000 (-0500) Subject: Change the order of init_logging's arguments. X-Git-Tag: 0.0.1~113 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=579f3e4c6b01f0e89fa6dc8c41a22330d4cb7b8f;p=dead%2Fhtsn-import.git Change the order of init_logging's arguments. --- diff --git a/src/Main.hs b/src/Main.hs index d66f704..0a41318 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -183,7 +183,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 (log_file cfg) (log_level cfg) (syslog cfg) + init_logging (log_level cfg) (log_file cfg) (syslog cfg) -- Check the optional config for missing required options. when (null $ OC.xml_files opt_config) $ do