[syslog-ng]Syntax error in default config?

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Thu, 05 May 2005 12:12:20 -0400


--==_Exmh_1115309540_3889P
Content-Type: text/plain; charset="us-ascii"
Content-Id: <16228.1115309540.1@turing-police.cc.vt.edu>

On Thu, 05 May 2005 18:01:11 +0200, "J. Meub" said:

> Whereas the first problem is generated due to the fact
> the the identifier is called "user". If i call it "user_"
> it works fine.
> With the second line the problem is "auth" because
> facility(authpriv) is accepted. But why not auth?!

>From /usr/include/sys/syslog.h on my Linux box:

/* facility codes */
#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 */
#define LOG_AUTH        (4<<3)  /* security/authorization messages */
#define LOG_SYSLOG      (5<<3)  /* messages generated internally by syslogd */
#define LOG_LPR         (6<<3)  /* line printer subsystem */
#define LOG_NEWS        (7<<3)  /* network news subsystem */
#define LOG_UUCP        (8<<3)  /* UUCP subsystem */
#define LOG_CRON        (9<<3)  /* clock daemon */
#define LOG_AUTHPRIV    (10<<3) /* security/authorization messages (private) */
#define LOG_FTP         (11<<3) /* ftp daemon */

Note that user, auth, and authpriv are all facility codes.  You can probably
guess the rest of the dont-call-them-that list.  Oh, and I omitted local0-local7
to save space.....

--==_Exmh_1115309540_3889P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQFCekXkcC3lWbTT17ARAoLVAKCkFh/Il/MNSXvoIAakZ5fmEAgVxACcCP3z
r6yeT07n5aSf2BMx3chxPug=
=dT4x
-----END PGP SIGNATURE-----

--==_Exmh_1115309540_3889P--