syslog messages while using juise

17 views
Skip to first unread message

tra...@gwinetworks.com

unread,
May 8, 2013, 11:56:22 AM5/8/13
to lib...@googlegroups.com

Hi all, 

I use juise a lot and its fantastic, but one problem I have it using syslog in it.

 jcs:syslog("external.notice", "syslog message");

 I get:

 syslog error: Unknown facility name: external

 I was thinking this was due to being run on the CentOS box, so I modified my syslogd file to add:

 #external
external.*                                        ​      /var/log/extern.log

 Any ideas?  The syslog works fine when the file is on a device, but when run in juise I see nothing.

Phil Shafer

unread,
May 8, 2013, 1:46:26 PM5/8/13
to lib...@googlegroups.com
On May 8, 2013, at 11:56 AM, tra...@gwinetworks.com wrote:

I use juise a lot and its fantastic, but one problem I have it using syslog in it.

Great news!

 syslog error: Unknown facility name: external


juise (libslax really) uses your machine's set of syslog facility names, as defined in sys/syslog.h, which it good for your specific platform, but lacks the JUNOS-specific names.  I need to add them as a static list for compatibility.

Okay, done: libslax-0.14.8 has this fix.   Testing now, uploading shortly.....

Thanks,
 Phil




Reply all
Reply to author
Forward
0 new messages