You don't need to load builtin modules. Philippe Muller
On Sun, Apr 21, 2013 at 10:15 PM, John Lyman <jlym...@gmail.com> wrote: > The configuration sample from http://www.rsyslog.com/doc/omfile.html does > not work with 7.3.10. > > # cat test > Module (load="builtin:omfile") > *.* action(type="omfile" > DirCreateMode="0700" > FileCreateMode="0644" > File="/var/log/messages") > > # rsyslogd -N1 -f test > rsyslogd: version 7.3.10, config validation run (level 1), master config > test > rsyslogd: module name 'omfile' is unknown [try > http://www.rsyslog.com/e/2209] > rsyslogd: error during parsing file test, on or before line 5: errors > occured in file 'test' around line 5 [try http://www.rsyslog.com/e/2207 ] > rsyslogd: CONFIG ERROR: there are no active actions configured. Inputs will > run, but no output whatsoever is created. [try > http://www.rsyslog.com/e/2103] > rsyslogd: run failed with error -2103 (see rsyslog.h or try > http://www.rsyslog.com/e/2103 to learn what that number means) > > The obvious work-around is to not load the module because it is builtin, > but I want to be able to set a default template. If I do this with the > legacy syntax, it works. I also tried replacing "load=" with "path=", > which is given as a sample for other builtin modules, but that didn't work > either. > _______________________________________________ > 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.