Created
February 1, 2024 20:00
-
-
Save h0tw1r3/b892587d9a3642ba719c96346df398fb to your computer and use it in GitHub Desktop.
send puppetserver logs to syslog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
augeas { 'puppetserver-logback-journal': | |
incl => '/etc/puppetlabs/puppetserver/logback.xml', | |
lens => 'Xml.lns', | |
changes => [ | |
"defnode aref configuration/root/appender-ref[#attribute/ref='STDOUT'] ''", | |
"set \$aref/#attribute/ref 'STDOUT'", | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment