Sha256: 58c8e143017d7c377a163e9bd3c8445a5efef5dc1f36150dd733025d4fd43bac

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

require 'puppet'

Puppet::Network::Handler.report.newreport(:log) do
    desc "Send all received logs to the local log destinations.  Usually
        the log destination is syslog."

    def process
        self.logs.each do |log|
            Puppet::Util::Log.newmessage(log)
        end
    end
end

# $Id: log.rb 2367 2007-03-29 18:22:24Z luke $

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-0.23.0 lib/puppet/reports/log.rb
puppet-0.22.4 lib/puppet/reports/log.rb
puppet-0.23.1 lib/puppet/reports/log.rb
puppet-0.23.2 lib/puppet/reports/log.rb