2011-06-28 18:13:39

by Sri Ram Vemulpali

[permalink] [raw]
Subject: Question on syslogd and syslog

Hello All,

I am looking to modify number of facilities available in syslog so
that for my application I can have much more array of them at disposal
of my need. So currently only LOG_LOCAL0 - LOG_LOCAL7 are defined for
user, what if I want to extend them, is there a way I can extend them.
Or should I go ahead and modify the source code of syslog. Can any
please point me in right direction and where can I get syslogd and
syslog source code. Thanks in advance.

--
Regards,
Sri.


2011-06-28 19:41:23

by David Lang

[permalink] [raw]
Subject: Re: Question on syslogd and syslog

you would be creating a completely different over-the-wire protocol for
your syslog messages.

however, note that newer syslog daemons (syslog-ng and rsyslog for
example) allow you to do filtering on just about anything in the message,
not just the facility and severity.

David Lang

On Tue, 28 Jun 2011, Sri Ram Vemulpali wrote:

> Date: Tue, 28 Jun 2011 14:11:59 -0400
> From: Sri Ram Vemulpali <[email protected]>
> To: linux-kernel-mail <[email protected]>,
> [email protected]
> Subject: Question on syslogd and syslog
>
> Hello All,
>
> I am looking to modify number of facilities available in syslog so
> that for my application I can have much more array of them at disposal
> of my need. So currently only LOG_LOCAL0 - LOG_LOCAL7 are defined for
> user, what if I want to extend them, is there a way I can extend them.
> Or should I go ahead and modify the source code of syslog. Can any
> please point me in right direction and where can I get syslogd and
> syslog source code. Thanks in advance.
>
>