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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe