FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-10-2012, 01:37 PM
Muhammad Yousuf Khan
 
Default syslog filter

there is a very specific daemon log which is generating every minute
and i want this log not written in syslog message however the daemon
itself not providing the facility to stop it. so is there any thing
that i could configure debian not to accept this particular log.

here is the log detail.

uID 1619
Date Today 18:30:50
Host panda
Messagetype Syslog
Facility DAEMON
Severity INFO
Syslogtag pvemirror[7044]:
Checksum 0
Message cluster syncronization finished (0.47 seconds (files 0.00,
config 0.16))

Thanks,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAGWVfMkp9rwTCj0rXh_j0_XPyEkzOFoHC7m49vcmiY3-Tr+pPg@mail.gmail.com">http://lists.debian.org/CAGWVfMkp9rwTCj0rXh_j0_XPyEkzOFoHC7m49vcmiY3-Tr+pPg@mail.gmail.com
 
Old 07-10-2012, 02:24 PM
Michael Biebl
 
Default syslog filter

On 10.07.2012 15:37, Muhammad Yousuf Khan wrote:
> there is a very specific daemon log which is generating every minute
> and i want this log not written in syslog message however the daemon
> itself not providing the facility to stop it. so is there any thing
> that i could configure debian not to accept this particular log.
>
> here is the log detail.
>
> uID 1619
> Date Today 18:30:50
> Host panda
> Messagetype Syslog
> Facility DAEMON
> Severity INFO
> Syslogtag pvemirror[7044]:
> Checksum 0
> Message cluster syncronization finished (0.47 seconds (files 0.00,
> config 0.16))
>


Depends on the syslog daemon you are using.
With rsyslog you have powerful filtering capabilities and you can
basically match on any part of the syslog message and drop it with the
"~" operator.

http://www.rsyslog.com/doc/rsyslog_conf_filter.html

HTH,
Michael


--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
 
Old 07-10-2012, 02:26 PM
Michael Biebl
 
Default syslog filter

On 10.07.2012 16:24, Michael Biebl wrote:

> With rsyslog you have powerful filtering capabilities and you can
> basically match on any part of the syslog message and drop it with the
> "~" operator.
>
> http://www.rsyslog.com/doc/rsyslog_conf_filter.html

http://www.rsyslog.com/doc/property_replacer.html → "Available
Properties" lists the properties you can match against.


--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
 
Old 07-11-2012, 06:50 AM
Muhammad Yousuf Khan
 
Default syslog filter

Thanks bro. it worked

On Tue, Jul 10, 2012 at 7:26 PM, Michael Biebl <biebl@debian.org> wrote:
> On 10.07.2012 16:24, Michael Biebl wrote:
>
>> With rsyslog you have powerful filtering capabilities and you can
>> basically match on any part of the syslog message and drop it with the
>> "~" operator.
>>
>> http://www.rsyslog.com/doc/rsyslog_conf_filter.html
>
> http://www.rsyslog.com/doc/property_replacer.html → "Available
> Properties" lists the properties you can match against.
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAGWVfMnDBdzLMddOeNwr1qU5koaR1oMR8dJd8HrL_+t3U8QNP Q@mail.gmail.com">http://lists.debian.org/CAGWVfMnDBdzLMddOeNwr1qU5koaR1oMR8dJd8HrL_+t3U8QNP Q@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 04:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org