On Tue, Jun 25, 2013 at 12:35 PM, Radu Gheorghe <[email protected]>wrote:
> Hello rsyslog-users! :) > > I have a few suggestions, and I'm looking forward to your feedback > > 1. Should imfile be included in the base rsyslog rpm/deb package? > > I've noticed that, at least the RPM packages from the Adiscon repo don't > include imfile, whereas most distributions (confirmed on CentOS and > OpenSUSE) include it. I think it's nice to have it there because there are > many apps who can't (or are difficult to configure to) log to syslog. > > I have to admit I thought we have a special package for it. But it probably is a good idea to include it in the base package, especially as it does not drag in any dependencies and is something that is quite often used. > If you think this is a good idea, I'd volunteer to do it (unless someone > else wants to do it, of course). Disclaimer: I'm not a packaging expert and > I can't provide any guarantees on the timeline. > > Do you think there are other modules that should be included in the "core" > package? Please note that, some of them might require additional > dependencies. So they need to be chosen carefully. > > 2. Should all the modules have their own packages? I'm still talking about > the Adiscon repo here, but I'd guess some distributions will follow the > example. > > I'd say "almost all" but not "all". The repro contains some experimental code, like imttcp, which is not actually meant to be used in production. > For example, imfile doesn't have one. And, unless it will get included in > the base package, one has to compile rsyslog manually to use it. I bet > there are others (eg: impstats) in the same situation. > > 3. Totally unrelated to the above: how do I write new tests? > > I've read a few things about the testbench recently but I still can't get > my head around how to contribute new tests to rsyslog. I'd like to write > tests, especially when I open a bug, to make sure it doesn't reappear in > future versions. I've seen some bash scripts in the tests/ directory, but I > can't quite figure out how to run only the test I'm making. To test the > test :) > > Any pointers on how to do that? I'd gladly document a howto somewhere once > I figure it out. > That's a longer one ;) May I suggest to have a look at tests/diag.sh first, and the look at one of the actual tests. Describing it in-depth currently goes over my head, but I can most probably provide answers. the core thing to know is that all the hard work is encapsulated in diag.sh, and all other tests just call into diag to make it perform things like start rsyslog, stop it, check output files and so on (except for some either very special or very old tests). Does that help? Rainer > > Best regards, > Radu > _______________________________________________ > 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.

