Resolution: Cannot Reproduce
Affects Version/s: SERVER 5.3.3
Fix Version/s: None
Component/s: Puppet Server
RHEL 7 with Systemd
Template:PUP Bug Template customfield_10700 264184
Configuring logback to with ConsoleAppender (STDOUT) shows the same messages as logging with RollingFileAppender (/var/log/pupetlabs/puppetserver/puppetserver.log)
Method Found:Needs Assessment
QA Risk Assessment:Needs Assessment
Puppet Version: 5.5.3
Puppet Server Version: 5.3.3
OS Name/Version: RHEL 7
Steps to reproduce:
- Add STDOUT appender-ref to logback.xml:
- restart puppetserver systemd service
- watch puppetserver STDOUT output with journalctl -u puppetserver.service
- compare with /var/log/puppetlabs/puppetserver/puppetserver.log
all Puppet compiler messages are missing on STDOUT
Some example messages not added to STDOUT:
Pupppet The function 'xy' is deprecated in favor of using 'lookup' ...
Puppet This method is deprecated, please use the ...
Puppet Undefined variable '...' ...
Puppet Compiled catalog for ... in environment .... in ... seconds
same logs on STDOUT as in /var/log/puppetlabs/puppetserver/puppetserver.log
journalctl -u puppetserver.service only includes messages until puppserver service is started. The java process stdout is still captured and logged to jouranld.
Use journalctl -t puppetserver to get the logs.