rsyslog icon indicating copy to clipboard operation
rsyslog copied to clipboard

How to set two working-mode for rsyslog.

Open fengyiii opened this issue 3 years ago • 2 comments

Hello, i want to set rsyslog work in two different mode.MODE release: rsyslog only handle msg with severity higher than warning; MODE debug: rsyslog handle all the msg to the syslog. How can i manage that?

fengyiii avatar Jun 14 '22 05:06 fengyiii

create two different configs. Start rsyslog with the one you currently want to run.

rgerhards avatar Jun 14 '22 06:06 rgerhards

Does that means i need to modify the "/etc/rsyslog.conf "
$IncludeConfig /etc/rsyslog.d/specific.conf every time i try to change the mode?

fengyiii avatar Jun 14 '22 06:06 fengyiii