2015-02-26 19:18 GMT+01:00 David Lang <[email protected]>: > On Thu, 26 Feb 2015, Rainer Gerhards wrote: > > 2015-02-25 19:49 GMT+01:00 Axel Rau <[email protected]>: >> >> Hi all, >>> >>> while porting an output module to 8.7, I’m getting: >>> >>> action (12) is transactional but parameter 0 uses invalid paramter >>> passing >>> mode >>> >>> Removing OMSR_TPL_AS_ARRAY from >>> - - - >>> CHKiRet(OMSRsetEntry(*ppOMSR, 0, >>> (uchar*) strdup((char*) pData->tplName), >>> OMSR_RQD_TPL_OPT_SQL | OMSR_TPL_AS_ARRAY)); >>> - - - >>> stops the error message, but I need *both* transaction and array. >>> Are both really incompatible now? >>> >>> >> Yes, there is no code for that case. It's "a bit" of work to do that and >> given the fact that array mode was almost never used, I didn't bother to >> re-implement it. Contributions are nevertheless welcome. >> >> Sorry I have no better answer, >> > > is there a database output module that is a good example of inserting many > log messages in a single transaction?
You mean the the TPL_AS_ARRAY method? I don't know one. Otherwise, mysql is. Rainer > > > 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. > _______________________________________________ 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.

