Rainer, is there an example of a simple module being converted to the new config syntax?

I'm thinking that it would be useful to start collecting examples of commits that do fairly simple things as documentation for programmers trying to create/improve modules

a few of simple ones to start off with:

1. add a config parameter (I think I can dig this up from the imfile changes where we implemented the multi-line mode)

2. change a new style parameter

I'm looking at omruleset and it looks like it may not support the new config format yet, but I'm not sure. If it does, I'd like to understand how it does, if not, it looks like it would be a tiny change and a good example case

3. how to manipulate the raw message buffer in parsing modules (I have this archived in e-mail, I'll dig it up)

David Lang
_______________________________________________
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