----- Original Message -----
> From: [email protected]
> To: "rsyslog-users" <[email protected]>
> Sent: Tuesday, May 28, 2013 5:05:04 PM
> Subject: Re: [rsyslog] Message count per programmename
> 
> Hello Bala,
> 
> Thank you for sharing this patch.
> Actually i'm trying to apply it to the last stable version of rsyslog.

The patch works fine with rsyslog git repository and rsyslog-7.3.10 from fedora 
rawhide.


> Maybe i'm mistaken but it doesn't seem to work properly.
> 
> /usr/local/src/rsyslog-7.2.7 0 # patch -p1 <
> ../0001-mmcount-message-modification-plugin-which-counts-mes.patch
> patching file Makefile.am
> Hunk #1 succeeded at 225 with fuzz 1 (offset -16 lines).
> patching file build/rhel/rsyslog/rsyslog.spec
> Hunk #1 FAILED at 47.
> Hunk #2 FAILED at 154.
> Hunk #3 FAILED at 226.
> Hunk #4 FAILED at 339.
> 4 out of 4 hunks FAILED -- saving rejects to file
> build/rhel/rsyslog/rsyslog.spec.rej
> patching file configure.ac
> Hunk #1 succeeded at 898 with fuzz 1 (offset -70 lines).
> Hunk #2 FAILED at 1483.
> Hunk #3 FAILED at 1505.
> 2 out of 3 hunks FAILED -- saving rejects to file configure.ac.rej

The patch fails for configure.ac

> patching file plugins/mmcount/Makefile.am
> patching file plugins/mmcount/mmcount.c
> 
> ./configure --help | grep -q mmcount || echo 'NO MMCOUNT !'
> NO MMCOUNT !
> 

Due to configure.ac reject, it is expected.

Regards,
Bala

> 
> 
> 
> 
> ----- Mail original -----
> De: "Balamurugan Arumugam" <[email protected]>
> À: "rsyslog-users" <[email protected]>
> Envoyé: Mardi 28 Mai 2013 12:19:24
> Objet: Re: [rsyslog] Message count per programmename
> 
> 
> Hi Smana,
> 
> ----- Original Message -----
> > From: [email protected]
> > To: [email protected]
> > Sent: Monday, May 27, 2013 9:23:00 PM
> > Subject: [rsyslog] Message count per programmename
> > 
> > Hello,
> > 
> > The question is pretty simple :
> > I would like to count the daily number of messages for a given programme.
> > I've read the following topic and the feature doesn't seem to be available
> > currently :
> > http://www.gossamer-threads.com/lists/rsyslog/users/9272
> > 
> > Is there another way to do so ? A workaround would be greatly appreciated.
> > 
> 
> You could use my patch [1] which enables this feature.
> 
> Regards,
> Bala
> 
> [1] lists.adiscon.net/pipermail/rsyslog/2013-May/032617.html
> 
> 
> > Thanks for your help,
> > 
> > Regards,
> > Smana
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com/professional-services/
> > What's up with rsyslog? Follow https://twitter.com/rgerhards
> > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
> > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T
> > LIKE THAT.
> > 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T
> LIKE THAT.
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T
> LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to