Re: Announcement: cl-syslog version 0.9.1 released.

Andreas Fuchs <[email protected]> Sun, 23 Nov 2003 01:43:01 +0100
Newsgroups gmane.lisp.clump
Message-ID <867k1rlxt6.wl%[email protected]>
On 2003-11-22, Erik Enge <[email protected]> wrote:
> On the todo list:
>
> - getting it tested under something other than Linux

I just tested it on FreeBSD. I could get it to work with facility
:news, priority :crit. :kern, etc. wouldn't have any effect. I guess
that's because of the following incompatible definitions:

(defparameter *facilities*
  '((:kern . 0)
    (:user . 1)
    (:mail . 2)
    (:daemon . 3)
    ;; ...))

versus /usr/include/syslog.h's:

#define LOG_KERN        (0<<3)  /* kernel messages */
#define LOG_USER        (1<<3)  /* random user-level messages */
#define LOG_MAIL        (2<<3)  /* mail system */
#define LOG_DAEMON      (3<<3)  /* system daemons */
[...]

It seems like you could use a portable sb-grovel substrate (-;

Otherwise, it's looking good - nice and clean interface.
-- 
Andreas Fuchs, <[email protected]>, [email protected], antifuchs