[Haskell-cafe] hslogger and metalog compatibility
Michael Orlitzky
michael at orlitzky.com
Mon Dec 23 21:20:13 UTC 2013
Is anyone else using metalog (syslog implementation) along with hslogger
to log to syslog? If I run the following with syslog-ng, it works. With
metalog, I get nothing. Just want to make sure it isn't me before I
report it.
Prelude> :set prompt "ghci> "
ghci> :m +System.Log.Logger
ghci> :m +System.Log.Handler.Syslog
ghci> sl <- openlog rootLoggerName [] USER DEBUG
ghci> updateGlobalLogger rootLoggerName (addHandler sl)
ghci> errorM rootLoggerName "This won't show up with metalog."
More information about the Haskell-Cafe
mailing list