]> gitweb.michael.orlitzky.com - dead/htsn.git/blobdiff - src/Main.hs
Attempt to implement syslog logging; fail at least with metalog.
[dead/htsn.git] / src / Main.hs
index f2febcb95ced479f1b965e2ea96ef21bf4ab7326..0182e38196db034cb52b070e61ac8042c2d2e210 100644 (file)
@@ -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