revisar syslog
[root@localhost home]# tail -f /var/log/messages
Aug 12 13:55:37 localhost nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth0 ...
Reseteo del syslog
[root@localhost home]# /etc/init.d/syslog restart
Shutting down kernel logger: [ OK ]
Shutting down system logger: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
[root@localhost home]#
agregar logs al syslog
[root@localhost home]# vi /etc/syslog.conf
*.* /dev/tty12
*.* /var/log/auditoria.log
*.* @192.168.0.5
logrotate
[root@localhost home]# vi /etc/logrotate.conf
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
minsize 1M
create 0664 root utmp
rotate 1
}
No hay comentarios:
Publicar un comentario