diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-02-02 15:28:24 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-02-02 15:28:24 +0100 |
commit | 6ce4a9d605e62b32ed62b5d6e498de5202565cee (patch) | |
tree | 2e3305051ead599c1e73ed25c27d65830afe58e6 /action.h | |
parent | ec2019abe255949d5adcafc8f81cb949b45885e3 (diff) | |
download | rsyslog-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |