diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-08-20 12:52:33 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-08-20 12:52:33 +0200 |
commit | c7f746d8349b395b95b3aa70eb395afb07b9c4c7 (patch) | |
tree | b70ea4a7b62bd4fa9f5f3ea3e1cbae523d8119e9 /action.h | |
parent | 298b6feef1a617dcbb650f71a82c6ec1f0bb8dff (diff) | |
download | rsyslog-c7f746d8349b395b95b3aa70eb395afb07b9c4c7.tar.gz rsyslog-c7f746d8349b395b95b3aa70eb395afb07b9c4c7.tar.xz rsyslog-c7f746d8349b395b95b3aa70eb395afb07b9c4c7.zip |
added new config option $ActionWriteAllMarkMessages
this option permites to process mark messages under all circumstances,
even if an action was recently called. This can be useful to use mark
messages as a kind of heartbeat.
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ struct action_s { populated on an as-needed basis. This is a performance optimization. */ time_t tLastExec; /* time this action was last executed */ bool bExecWhenPrevSusp;/* execute only when previous action is suspended? */ + bool bWriteAllMarkMsgs;/* should all mark msgs be written (not matter how recent the action was executed)? */ int iSecsExecOnceInterval; /* if non-zero, minimum seconds to wait until action is executed again */ action_state_t eState; /* current state of action */ int bHadAutoCommit; /* did an auto-commit happen during doAction()? */ |