[syslog-ng]syslog-ng and sqlsyslogd
Nate Campi
syslog-ng@lists.balabit.hu
Mon, 5 Jul 2004 10:24:26 -0700
On Mon, Jul 05, 2004 at 07:14:41PM +0200, Balazs Scheidler wrote:
> 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.
Oh yeah, use templates, ignore my message about patching sqlsyslogd.
--
Nate
"Though this be madness, yet there is method in't." - William
Shakespeare, Hamlet