summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-08 09:59:28 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-08 09:59:28 +0000
commite276e32d426e488f9f18f7ca156c301df3604e4f (patch)
tree2baa8374677c210ee4a6fde750a8491fd0a0fc88 /syslogd.c
parent5cca4552674adad6dc24d1e91f41771db7c70beb (diff)
downloadrsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.tar.gz
rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.tar.xz
rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.zip
added config file directive $ActionResumeInterval
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/syslogd.c b/syslogd.c
index d5714024..3266fe9d 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3826,6 +3826,14 @@ finalize_it:
}
+/* set the action resume interval
+ */
+static rsRetVal setActionResumeInterval(void __attribute__((unused)) *pVal, int iNewVal)
+{
+ return actionSetGlobalResumeInterval(iNewVal);
+}
+
+
/* set the processes umask (upon configuration request)
*/
static rsRetVal setUmask(void __attribute__((unused)) *pVal, int iUmask)
@@ -5819,6 +5827,7 @@ static rsRetVal loadBuildInModules(void)
#endif
CHKiRet(regCfSysLineHdlr((uchar *)"repeatedmsgreduction", 0, eCmdHdlrBinary, NULL, &bReduceRepeatMsgs));
CHKiRet(regCfSysLineHdlr((uchar *)"actionexeconlywhenpreviousissuspended", 0, eCmdHdlrBinary, NULL, &bActExecWhenPrevSusp));
+ CHKiRet(regCfSysLineHdlr((uchar *)"actionresumeinterval", 0, eCmdHdlrInt, setActionResumeInterval, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"controlcharacterescapeprefix", 0, eCmdHdlrGetChar, NULL, &cCCEscapeChar));
CHKiRet(regCfSysLineHdlr((uchar *)"escapecontrolcharactersonreceive", 0, eCmdHdlrBinary, NULL, &bEscapeCCOnRcv));
CHKiRet(regCfSysLineHdlr((uchar *)"dropmsgswithmaliciousdnsptrrecords", 0, eCmdHdlrBinary, NULL, &bDropMalPTRMsgs));