From 70d90f5bae2728faed319a03f75e64a50f88a159 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 15 Feb 2008 07:48:07 +0000 Subject: did some more work on omlibdbi, but did not yet get libdbi working. I guess its a compile problem, but have not found it so far. --- syslogd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'syslogd.c') diff --git a/syslogd.c b/syslogd.c index 71378f6e..e8776d65 100644 --- a/syslogd.c +++ b/syslogd.c @@ -3753,6 +3753,7 @@ rsRetVal addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStr * does not request any templates. This sounds unlikely, but an actual example is * the discard action, which does not require a string. -- rgerhards, 2007-07-30 */ +RUNLOG_VAR("%d", pAction->iNumTpls); if(pAction->iNumTpls > 0) { /* we first need to create the template pointer array */ if((pAction->ppTpl = calloc(pAction->iNumTpls, sizeof(struct template *))) == NULL) { @@ -3766,6 +3767,7 @@ rsRetVal addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStr * template (Hint: templates MUST be defined before they are * used!) */ +RUNLOG_VAR("%s", pTplName); if((pAction->ppTpl[i] = tplFind((char*)pTplName, strlen((char*)pTplName))) == NULL) { snprintf(errMsg, sizeof(errMsg) / sizeof(char), " Could not find template '%s' - action disabled\n", -- cgit v1.2.3