Chinaunix首页 | 论坛 | 博客
  • 博客访问: 159541
  • 博文数量: 29
  • 博客积分: 1015
  • 博客等级: 上士
  • 技术积分: 300
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-22 12:30
个人简介

喜读书,尤好史。

文章分类

全部博文(29)

文章存档

2012年(10)

2011年(19)

分类: LINUX

2011-12-20 17:04:54

日志服务器的配置文件:/etc/syslog.conf
 以下为所需头文件和函数:
     #include
     void openlog(const char *ident, int option, int facility);
     void syslog(int priority, const char *format, ...);
     void closelog(void);
阅读(1348) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~