summaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-02-02 15:28:24 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-02-02 15:28:24 +0100
commit6ce4a9d605e62b32ed62b5d6e498de5202565cee (patch)
tree2e3305051ead599c1e73ed25c27d65830afe58e6 /action.h
parentec2019abe255949d5adcafc8f81cb949b45885e3 (diff)
downloadrsyslog-6ce4a9d605e62b32ed62b5d6e498de5202565cee.tar.gz
rsyslog-6ce4a9d605e62b32ed62b5d6e498de5202565cee.tar.xz
rsyslog-6ce4a9d605e62b32ed62b5d6e498de5202565cee.zip
added new config directive $RepeatedMsgContainsOriginalMsg
so that the "last message repeated n times" messages, if generated, may have an alternate format that contains the message that is being repeated. Note that this is on an action-by-action basis.
Diffstat (limited to 'action.h')
-rw-r--r--action.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/action.h b/action.h
index 8d9d5102..e35e634c 100644
--- a/action.h
+++ b/action.h
@@ -57,7 +57,8 @@ struct action_s {
time_t tLastOccur; /* time last occurence was seen (for timing them out) */
struct modInfo_s *pMod;/* pointer to output module handling this selector */
void *pModData; /* pointer to module data - content is module-specific */
- int f_ReduceRepeated;/* reduce repeated lines 0 - no, 1 - yes */
+ short bRepMsgHasMsg; /* "message repeated..." has msg fragment in it (0-no, 1-yes) */
+ short f_ReduceRepeated;/* reduce repeated lines 0 - no, 1 - yes */
int f_prevcount; /* repetition cnt of prevline */
int f_repeatcount; /* number of "repeated" msgs */
int iNumTpls; /* number of array entries for template element below */