Ticket #26 (closed enhancement: fixed)

Opened 14 years ago

Last modified 12 years ago

new output error mode (less errors in syslog but an error report file updated each 5 minutes)

Reported by: andreu Owned by: andreu
Priority: major Milestone: Release 1.0.0
Component: core Version:
Keywords: Cc:

Description


Change History

Changed 14 years ago by andreu

  • status changed from new to assigned

Changed 12 years ago by andreu

  • milestone changed from Release 0.0.14 to Release 1.0.0

Changed 12 years ago by andreu

  • status changed from assigned to closed
  • resolution set to fixed

Finally we choose to use an other syslog file. His name is renetcol.log and configuration of syslog must be change in two files :

  • in /etc/syslog.conf add the line :
    local7.*                        -/var/log/renetcol.log
    
  • in /etc/cron.daily/sysklogd :
    for LOG in $logs
    do
       if [ -s $LOG ]; then
          if [ $LOG != /var/log/renetcol.log ]; then
            savelog -g adm -m 640 -u root -c 7 $LOG >/dev/null
          else
            savelog -g adm -m 644 -u root -c 7 /var/log/renetcol.log >/dev/null
          fi
       fi
    done
    

and restart syslogd : /etc/init.d/sysklogd restart

Note: See TracTickets for help on using tickets.