All,

Even though I have looked at the documentation and search this group, I can 
seem to find a clear answer.

Can puppet logging preferences be controlled via puppet.conf?  In the docs 
there are two variables that control this:  
puppetdlog<http://docs.puppetlabs.com/references/3.0.0/configuration.html#puppetdlog>
 and 
masterlog<http://docs.puppetlabs.com/references/3.0.0/configuration.html#masterlog>.
 
 Setting either of these in the config does not seem to effect the logging, 
always does to syslog.  Only setting the --logdest when starting puppet 
seems to change the logging (command line, /etc/sysconfig orconfig.ru)? 
 BTW: I have tried to also added logdest to the puppet.conf

1) What is the correct syntax to enable logging to a file (vs syslog) for 
master and also agent?
2) Can the syslog logging be disabled?  What is that syntax?

Here is a sniplet of my config


[main]
 user = puppet
 group = puppet

 logdir = /var/log/puppet
 rundir = /var/run/puppet
 ssldir = $vardir/ssl

 report = true
 reports = log,store

[agent]
 server = puppet.domain.com
 classfile = $vardir/classes.txt
 localconfig = $vardir/localconfig
 puppetdlog = $logdir/puppetd.log

[master]
 masterlog=$logdir/master.log
 #logdest = /var/log/puppet/master.log
 certname = puppet.domain.com




-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to