diff options
Diffstat (limited to 'lib/puppet/log.rb')
-rw-r--r-- | lib/puppet/log.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/log.rb b/lib/puppet/log.rb index 65043a463..672ff1d8b 100644 --- a/lib/puppet/log.rb +++ b/lib/puppet/log.rb @@ -27,14 +27,14 @@ module Puppet :crit => RESET } - @destinations = {:syslog => Syslog.open("puppet")} + #@destinations = {:syslog => Syslog.open("puppet")} + @destinations = {:console => :console} # Reset all logs to basics. Basically just closes all files and undefs # all of the other objects. def Log.close(dest = nil) if dest if @destinations.include?(dest) - Puppet.warning "Closing %s" % dest if @destinations.respond_to?(:close) @destinations[dest].close end |