首页> 中文期刊>计算机工程 >基于Linux内核的智能日志生成系统

基于Linux内核的智能日志生成系统

     

摘要

The log generation system in this paper overcomes the traditional log generation system which cannot modify the generation of modules and levels log, the configuration file can be modified and the dynamic command can be used to get selective generation of different modules and levels log in this design. This design uses the scanning of configuration file, according to the identification of different modules and levels in configuration file to update the list of log generation, the dynamic command inputs with the Inter-process Communication(IPC) in process to update the list of log generation, then uses the API interface to generate the log according to the demand.%提出一种日志生成系统,克服传统系统不能在进程中随意更改日志生成的模块与级别.通过修改配置文件和用动态命令2种方式,进行不同模块、不同级别的日志选择性生成.该设计可以用扫描配置文件的方式,根据配置文件中不同模块与级别的标识更新日志生成列表,也可以在进程运行当中,以人机交互的命令通过进程间通信的方法更新日志生成列表,再调用API接口实现按需生成日志.测试结果表明,该设计可以实现按需求输出日志的功能.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号