设为首页 加入收藏

TOP

Linux log路径/var/log系统级别log syslog openlog closelog vsylog
2014-11-23 23:31:45 来源: 作者: 【 】 浏览:7
Tags:Linux log 路径 /var/log 系统 级别 syslog openlog closelog vsylog

Linux log路径/var/log系统级别log syslog openlog closelog vsylog

主要有两个问题:


1:Linux系统log的路径 /var/log


2: 系统级别log API:


#include


void openlog(const char *ident, int option, int facility);
void syslog(int priority, const char *format, ...);
void closelog(void);


#include


void vsyslog(int priority, const char *format, va_list ap);


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Linux下创建和编译Qt项目 下一篇Linux启动时自动加载脚本

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: