检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘洪武[1] 梁亮[1] 杨国为[1] 宋高俊[1]
出 处:《计算机工程》2012年第18期255-257,共3页Computer Engineering
基 金:国家自然科学基金资助项目(60973048);航空科学基金资助项目(20102056005);江西省教育厅青年科学基金资助项目(GJJ10194)
摘 要:提出一种日志生成系统,克服传统系统不能在进程中随意更改日志生成的模块与级别。通过修改配置文件和用动态命令2种方式,进行不同模块、不同级别的日志选择性生成。该设计可以用扫描配置文件的方式,根据配置文件中不同模块与级别的标识更新日志生成列表,也可以在进程运行当中,以人机交互的命令通过进程间通信的方法更新日志生成列表,再调用API接口实现按需生成日志。测试结果表明,该设计可以实现按需求输出日志的功能。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.
关 键 词:日志生成系统 配置文件 动态命令 LINUX内核 系统调用 API接口 进程间通信
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229