syslog-ng安装测试记录

本文记录了syslog-ng 3.3.4的安装过程,包括依赖库eventlog的安装,详细介绍了安装步骤和配置文件修改。通过测试验证syslog-ng能够正常收集并记录系统日志,同时展示了其在日志内容回滚时的健壮性。
摘要由CSDN通过智能技术生成





1 下载syslog-ng(当前使用的是3.3.4) 当然也要下载eventlog    (官方的是在一起提供下载的)

2 安装:(使用最简安装没有添加对json,sql等得支持)
1)因为syslog-ng安装需要eventlog的支持需要先安装eventlog的支持
a eventlog的的作用( 这里把eventlog的英文注释拿过来了  偷懒了)
The EventLog library aims to be a replacement of the simple syslog() API                                                                                                
provided on UNIX systems. The major difference between EventLog and syslog is that EventLog tries to add structure to messages.
Where you had a simple non-structrured string in syslog() you have acombination of description and tag/value pairs.
EventLog provides an interface to build, format and output an event record.The exact format and output method can be customized by the administrator via a configuration file.


Installation
------------


Installing this library is quite straightforward as it does not depend on anything but libc.


First grab your copy of the library. It is a tarball named
eventlog-x.x.x.x.tar.gz where x.x.x.x is the library revision.


tar xvfz eventlog-x.x.x.x.tar.gz
cd eventlog-x.x.x.x
./configure
make && make install
<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值