rsyslog 和 logrotate
rsyslog 日志服务器(cs架构) 版本 rsyslogd 8.16.0 rsyslogd -N1 # 测试配置文件 client /etc/rsyslog.conf ###########
...Read more...
数人世相逢,百年欢笑.
rsyslog 日志服务器(cs架构) 版本 rsyslogd 8.16.0 rsyslogd -N1 # 测试配置文件 client /etc/rsyslog.conf ###########
...Read more...
在Debian或Ubuntu上: # apt-get install logrotate cron 在Fedora,CentOS或RHEL上: # yum install logrotate c
...Read more...
1、nginx平滑启动 kill -HUP `cat /opt/nginx/logs/nginx.pid` 2、nginx日志切割脚本 #!
...Read more...