# File ../../auditor/lib/kasp_auditor/partial_auditor.rb, line 930 def log(pri, msg) if (pri.to_i < @ret_val) @ret_val = pri.to_i end return if (@num_output_lines >= 100) @num_output_lines += 1 if (@num_output_lines == 100) msg = "Too much output from auditor - suppressing for rest of run" print "#{msg}\n" @syslog.log(LOG_WARNING, msg) return end print "#{pri}: #{msg}\n" begin @syslog.log(pri, msg) rescue ArgumentError # Make sure we continue no matter what end end