문제

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 !

도움이 되었습니까?

해결책

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 */
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top