diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-08-08 09:59:28 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-08-08 09:59:28 +0000 |
commit | e276e32d426e488f9f18f7ca156c301df3604e4f (patch) | |
tree | 2baa8374677c210ee4a6fde750a8491fd0a0fc88 /syslogd.c | |
parent | 5cca4552674adad6dc24d1e91f41771db7c70beb (diff) | |
download | rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.tar.gz rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.tar.bz2 rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.zip |
added config file directive $ActionResumeInterval
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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)); |