Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

bind-address mysql multiple, sanibleone xxxx, ftp://192.168.100.100/, www.xxxcon, which comes first ob_start or session, wwwxxx/58/2010, xxxxdup, xxxxdup, mailx informatii, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?

Links

XODOX
Impressum

#1: Question on syslogd and syslog

Posted on 2011-06-28 20:11:59 by Sri Ram Vemulpali

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Report this message

#2: Re: Question on syslogd and syslog

Posted on 2011-06-28 21:41:10 by david

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 <sri.ram.gmu06@gmail.com>
> To: linux-kernel-mail <linux-kernel@vger.kernel.org>,
> linux-newbie@vger.kernel.org
> 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.
>
>

Report this message

#3: Re: Question on syslogd and syslog

Posted on 2011-07-02 16:28:44 by Sri Ram Vemulpali

Thanks for the replies. My question is more on how to extend
facilities, rather on how to filter the messages. It seems there is a
code in the toolchain syslog.h where the array representing the
facilities needs to be extended. Please correct me if I am wrong.

Sri.

On Tue, Jun 28, 2011 at 3:41 PM, <david@lang.hm> wrote:
> you would be creating a completely different over-the-wire protocol f=
or your
> syslog messages.
>
> however, note that newer syslog daemons (syslog-ng and rsyslog for ex=
ample)
> 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 <sri.ram.gmu06@gmail.com>
>> To: linux-kernel-mail <linux-kernel@vger.kernel.org>,
>> =A0 =A0linux-newbie@vger.kernel.org
>> Subject: Question on syslogd and syslog
>>
>> Hello All,
>>
>> =A0 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 dispos=
al
>> of my need. So currently only LOG_LOCAL0 - LOG_LOCAL7 are defined fo=
r
>> user, what if I want to extend them, is there a way I can extend the=
m.
>> 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.
>>
>>
>



--=20
Regards,
Sri.
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie"=
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Report this message

#4: Re: Question on syslogd and syslog

Posted on 2011-07-02 19:23:23 by david

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.

--680960-1374684458-1309627403=:26801
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

the problem is that in the syslog spec, the facility and severity get
combined into one 8 bit field (one of the two only has 12 values defined
instead of 16, but I don't remember off the top of my head which one)

so extending this is creating a new protocol.

also, the reason I was talking about filtering is that other than
filtering, what purpose is there in settng the facility?

David Lang

On Sat, 2 Jul 2011, Sri Ram Vemulpali wrote:

> Thanks for the replies. My question is more on how to extend
> facilities, rather on how to filter the messages. It seems there is a
> code in the toolchain syslog.h where the array representing the
> facilities needs to be extended. Please correct me if I am wrong.
>
> Sri.
>
> On Tue, Jun 28, 2011 at 3:41 PM, <david@lang.hm> wrote:
>> 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 <sri.ram.gmu06@gmail.com>
>>> To: linux-kernel-mail <linux-kernel@vger.kernel.org>,
>>>    linux-newbie@vger.kernel.org
>>> 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.
>>>
>>>
>>
>
>
>
>
--680960-1374684458-1309627403=:26801--
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Report this message

#5: Re: Question on syslogd and syslog

Posted on 2011-07-03 19:54:07 by Sri Ram Vemulpali

=46acilities of syslogd are associated to a particular file. So, in my
application there are 20 tasks which needs to have a separate log file
for every task. So, mapping every task to one facility fills my
requirement. So, this is the reason I want to extend the facilities of
level LOGLOCAL0-7.

Coming to previous question, the purpose is to fulfill the above requir=
ement.

Thanks,
Sri.

On Sat, Jul 2, 2011 at 1:23 PM, <david@lang.hm> wrote:
> the problem is that in the syslog spec, the facility and severity get
> combined into one 8 bit field (one of the two only has 12 values defi=
ned
> instead of 16, but I don't remember off the top of my head which one)
>
> so extending this is creating a new protocol.
>
> also, the reason I was talking about filtering is that other than fil=
tering,
> what purpose is there in settng the facility?
>
> David Lang
>
> On Sat, 2 Jul 2011, Sri Ram Vemulpali wrote:
>
>> Thanks for the replies. My question is more on how to extend
>> facilities, rather on how to filter the messages. It seems there is =
a
>> code in the toolchain syslog.h where the array representing the
>> facilities needs to be extended. Please correct me if I am wrong.
>>
>> Sri.
>>
>> On Tue, Jun 28, 2011 at 3:41 PM, =A0<david@lang.hm> wrote:
>>>
>>> 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, no=
t 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 <sri.ram.gmu06@gmail.com>
>>>> To: linux-kernel-mail <linux-kernel@vger.kernel.org>,
>>>> =A0 =A0linux-newbie@vger.kernel.org
>>>> Subject: Question on syslogd and syslog
>>>>
>>>> Hello All,
>>>>
>>>> =A0 I am looking to modify number of facilities available in syslo=
g so
>>>> that for my application I can have much more array of them at disp=
osal
>>>> 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 t=
hem.
>>>> 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.
>>>>
>>>>
>>>
>>
>>
>>
>



--=20
Regards,
Sri.

Report this message

#6: Re: Question on syslogd and syslog

Posted on 2011-07-06 02:33:35 by david

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.

--680960-103187949-1309912415=:7310
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

the mechanism for putting all the logs with a paticular facility in a
different logfile if the filtering that I mentioned. if you use anything
other than sysklogd, you can filter things into files based on anything in
the message, not just the facility.
David Lang

On Sun, 3 Jul 2011, Sri Ram Vemulpali
wrote:

> Facilities of syslogd are associated to a particular file. So, in my
> application there are 20 tasks which needs to have a separate log file
> for every task. So, mapping every task to one facility fills my
> requirement. So, this is the reason I want to extend the facilities of
> level LOGLOCAL0-7.
>
> Coming to previous question, the purpose is to fulfill the above requirement.
>
> Thanks,
> Sri.
>
> On Sat, Jul 2, 2011 at 1:23 PM, <david@lang.hm> wrote:
>> the problem is that in the syslog spec, the facility and severity get
>> combined into one 8 bit field (one of the two only has 12 values defined
>> instead of 16, but I don't remember off the top of my head which one)
>>
>> so extending this is creating a new protocol.
>>
>> also, the reason I was talking about filtering is that other than filtering,
>> what purpose is there in settng the facility?
>>
>> David Lang
>>
>> On Sat, 2 Jul 2011, Sri Ram Vemulpali wrote:
>>
>>> Thanks for the replies. My question is more on how to extend
>>> facilities, rather on how to filter the messages. It seems there is a
>>> code in the toolchain syslog.h where the array representing the
>>> facilities needs to be extended. Please correct me if I am wrong.
>>>
>>> Sri.
>>>
>>> On Tue, Jun 28, 2011 at 3:41 PM,  <david@lang.hm> wrote:
>>>>
>>>> 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 <sri.ram.gmu06@gmail.com>
>>>>> To: linux-kernel-mail <linux-kernel@vger.kernel.org>,
>>>>>    linux-newbie@vger.kernel.org
>>>>> 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.
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>
>
--680960-103187949-1309912415=:7310--

Report this message