Hi

I wan't my puppetserver 5.3 to log to STDOUT in addition or as replacement 
for /var/log/puppetlabs/puppetserver/puppetserver.log.

I've added the following to the /etc/puppetlabs/puppetserver/logback.xml 
config file:

<configuration>
...
<root level="info">
  ...
  *<appender-ref ref="STDOUT" />*
</root>
</configuration>

I can see that after a service restart some of the messages get printed to 
stdout - but not all.

All the puppet compiler messages  are not added to STDOUT but they are in 
puppetserver.log. 

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 if I remove the F1 appender-ref to disable logging to puppetserver.log.

Is there some additional config required to log everything that is logged 
to the file also to STDOUT?

- Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6898b0be-6ea5-41e7-a542-2e6bb0ef3dea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to