On Tue, 2013-09-24 at 11:00 -0700, David Lang wrote: > 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)
I'd just like to say that this would be much appreciated. I have a lot of old configurations from v5 that I'd really like to convert to the new syntax, but I don't really understand entirely how to go about doing so, so it's been rather hit or miss so far. A "cookbook" of simple configurations and maybe a few more complex examples would be great to see. _______________________________________________ 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.

