[syslog-ng]syslog-ng and sqlsyslogd

Balazs Scheidler syslog-ng@lists.balabit.hu
Mon, 05 Jul 2004 19:14:41 +0200


2004-06-30, sze keltezéssel 20:22-kor John Jason Brzozowski ezt írta:
> Hello,
> 
> I recently setup syslog-ng to use sqlsyslogd to insert syslog information
> into a MySQL database.  After some testing I found that the some extra
> data is being added to each record only when called by syslog-ng.  Each
> record in the database has <###> where ### is some random number.  Has
> anyone seen this?

it is not a random number, it is a combination of the facility and
message priority bitmasks represented as a binary number.

you can rid of that by using templates.


-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1