[Haskell-cafe] hslogger and syslog-ng
Magnus Therning
magnus at therning.org
Sun Aug 23 09:41:01 EDT 2009
I'm having some problem with logging to syslog using System.Log.Logger
and friends. I have the following:
> :m +System.Log.Logger
> :m +System.Log.Handler.Syslog
> sl <- openlog "foo" [PID] USER DEBUG
> updateGlobalLogger rootLoggerName (addHandler sl)
> warningM "bar" "test"
*** Exception: sendTo: protocol error (Protocol wrong type for socket)
What could be the cause for this?
I've tried hsyslog and it reports to my instance of syslog without problems.
My system is a 32-bit Arch Linux, running syslog-ng 3.0.3.
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
More information about the Haskell-Cafe
mailing list