This file is indexed.

/usr/lib/ruby/vendor_ruby/log4r/rdoc/syslogoutputter is in ruby-log4r 1.1.10-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
= SyslogOutputter

A SyslogOutputter transforms a Log4r::LogEvent into a call to syslog().
Since syslog has its own formatting system, log4r formatters are ignored. 

== Usage

To use, 

  <tt>require 'log4r/outputter/syslogoutputter'</tt>

An example,

  require 'log4r'
  require 'log4r/outputter/syslogoutputter'

  syslog = Log4r::SyslogOutputter.new("name", 'logopt'=>#, 'facility'=>#)
  syslog.err("this is an ERR message")

The output in <tt>/var/logs/syslog</tt> (Debian) is,

  Sep  3 11:43:06 tiphares sys[1603]: this is an ERR message

The hash arguments +logoptions+ and +facility+ are passed to 
<tt>Syslog.open</tt>. The
defaults are <tt>LOG_PID | LOG_CONS</tt> and <tt>LOG_USER</tt> respectively.

This is a first try implementation. It works well. Please report 
any bugs and fixes.