Skip to content

xiaoyang2008mmm/plog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plog

Python写的rsyslog日志服务器服务端

使用: 配置
udp @ tcp@@
vi /etc/rsyslog.conf

*.* @192.168.1.105:5514
保存退出
重启rsyslog服务
同样也可以接收nginx的syslog模块打过来的日志
mysql启动日志
/usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql --syslog --syslog-tag=标签名字

About

Python写的rsyslog日志服务器服务端

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages