Skip to content

Commit

Permalink
Fixes #21977: Disable agent syslog logging by default - stay compatib…
Browse files Browse the repository at this point in the history
…le with old agents
  • Loading branch information
amousset committed Oct 18, 2022
1 parent 62f5c92 commit 09bcb12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion techniques/system/common/1.0/promises.st
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,11 @@ bundle common rudder_syslog_facility {
vars:
@if feature(syslog_disableable)
"valid_values" slist => {"NONE", "LOG_USER", "LOG_DAEMON", "LOG_LOCAL0", "LOG_LOCAL1", "LOG_LOCAL2", "LOG_LOCAL3", "LOG_LOCAL4", "LOG_LOCAL5", "LOG_LOCAL6", "LOG_LOCAL7"};
"syslog" string => "NONE";
@else
"valid_values" slist => {"LOG_USER", "LOG_DAEMON", "LOG_LOCAL0", "LOG_LOCAL1", "LOG_LOCAL2", "LOG_LOCAL3", "LOG_LOCAL4", "LOG_LOCAL5", "LOG_LOCAL6", "LOG_LOCAL7"};
"syslog" string => "LOG_LOCAL3";
@endif
"syslog" string => "NONE";
rudder_is_syslog_out_valid::
"syslog" string => "${node.properties[rudder][log][syslog_facility]}";
Expand Down

0 comments on commit 09bcb12

Please sign in to comment.