Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1794109
  • 博文数量: 184
  • 博客积分: 10122
  • 博客等级: 上将
  • 技术积分: 5566
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-08 12:32
文章存档

2011年(1)

2008年(183)

我的朋友

分类: LINUX

2008-03-03 21:31:13

3.1. The syslog-ng configuration file

The syslog-ng application is configured by editing the syslog-ng.conf file. Use any regular text editor application to modify the file. The precompiled syslog-ng packages include sample configuration files as well.

# 注释 :syslog-ng 应用程序的配置文件是 syslog-ng.conf ,如果是二进制的 rpm 包的话,应该含有预先配置好的文件。

All identifiers, option names and attributes, and any other strings used in the syslog-ng configuration file are case sensitive. Objects must be defined before they are referenced in another statement.

# 注释 :配置文件不关心大小写,对象必须先定义才能被引用

The following table lists the location of the syslog-ng.conf file on the different platforms. The license.txt license file is also located here.

# 注释 :linux 下 syslog-ng 的默认配置位于 /etc/syslog-ng/ 下

Operating System Location
Linux, AIX 5.x /etc/syslog-ng/syslog-ng.conf
Solaris, HP-UX /opt/syslog-ng/etc/syslog-ng/syslog-ng.conf

Table 3.1. The location of syslog-ng.conf on different platforms

On Microsoft Windows platforms the syslog-ng agent stores its configuration in the system registry, and can be configured from a graphical interface. See for details.

阅读(1246) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~