2

Sometimes Syslog send line like that :

Aug 12 20:35:57 server sshd[15984]: last message repeated 2 times

I know that we can disable it, in the rsyslog config file :

$RepeatedMsgReduction off

Source : here

That config disable this feature on all syslog facilities.

But my question is : is there any way to disable this feature on only a specific facility (local1 for example) ?

Thanks !

1 Answer 1

3

No, according to the manual this option only accepts values on and off. Likewise, the source code only documents these two values:

int bReduceRepeatMsgs; /* reduce repeated message - 0 - no, 1 - yes */
1
  • Ok thanks for this information. So there is no native option to select facility ?
    – TriD
    Commented Mar 3, 2014 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.