Changeset 5737

Show
Ignore:
Timestamp:
06/11/09 19:39:48 (6 years ago)
Author:
khali
Message:

Use the "daemon" logging facility instead of "local4" by default.
Local facilities are meant for local uses, no daemon should use it by
default.

Location:
lm-sensors/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5735 r5737  
    1616           Don't use the system log when generating a CGI script 
    1717           Disable unit scaling for fan speeds 
     18           Use daemon logging facility instead of local4 by default 
    1819  sensors-detect: Add nNidia nForce MCP78S SMBus detection 
    1920                  Display Super-I/O address even if LD is disabled 
  • lm-sensors/trunk/prog/sensord/args.c

    r5721 r5737  
    3838        .logTime = 30 * 60, 
    3939        .rrdTime = 5 * 60, 
    40         .syslogFacility = LOG_LOCAL4, 
     40        .syslogFacility = LOG_DAEMON, 
    4141}; 
    4242 
  • lm-sensors/trunk/prog/sensord/sensord.8

    r4990 r5737  
    9292facility to use when logging sensor readings and alarms; the default is 
    9393to use 
    94 .IR local4 . 
    95  
    96 Other possibile facilities include 
     94.IR daemon . 
     95 
     96Other possible facilities include 
    9797.IR local0 
    9898through 
    9999.IR local7 , 
    100 .IR daemon 
    101 or 
     100and 
    102101.IR user . 
    103102.IP "-g, --rrd-cgi directory" 
     
    141140.BR syslog (3) 
    142141under the program name `sensord' and facility 
    143 .IR local4 , 
     142.IR daemon , 
    144143or whatever is specified on the command line. 
    145144 
     
    156155file to direct these messages in a useful manner. See 
    157156.BR syslog.conf (5) 
    158 for full details, however the following is a sample configuration: 
     157for full details. Assuming you set the logging facility to local4, 
     158the following is a sample configuration: 
    159159.IP 
    160160.nf