summaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-08-20 12:52:33 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-08-20 12:52:33 +0200
commitc7f746d8349b395b95b3aa70eb395afb07b9c4c7 (patch)
treeb70ea4a7b62bd4fa9f5f3ea3e1cbae523d8119e9 /action.h
parent298b6feef1a617dcbb650f71a82c6ec1f0bb8dff (diff)
downloadrsyslog-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.h b/action.h
index a29936e5..cfa08db8 100644
--- a/action.h
+++ b/action.h
@@ -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()? */