| 摘要: |
| 规范和充分的日志是良好代码质量的必要因素,也是软件故障诊断的重要手段.然而,代码的质量管理受限于大规模软件代码的高复杂程度,目前,利用日志信息进行软件故障重现和诊断的难度大、效率低.从日志特征分析、基于日志的故障诊断、日志的增强这3个方面综述了日志研究的现状.通过对几种常用的大规模开源软件的日志进行调研,发现了一些日志相关的特征和规律以及现有工具难以解决的问题.最后,对未来的研究工作进行了展望,并分析了可能面对的挑战. |
| 关键词: 系统日志 特征分析 故障诊断 日志增强 |
| DOI:10.13328/j.cnki.jos.004936 |
| 分类号: |
| 基金项目:国家自然科学基金(61402496);国家重点基础研究发展计划(973)(2014CB340703);腾讯高校合作项目 |
|
| Survey on Log Research of Large Scale Software System |
|
LIAO Xiang-Ke, LI Shan-Shan, Dong Wei, JIA Zhou-Yang, LIU Xiao-Dong, ZHOU Shu-Lin
|
|
College of Computer, National University and Defense Technology, Changsha 410073, China
|
| Abstract: |
| Standardized and sufficient log is a necessary part of good code quality, and it plays an important role in failure diagnosis as well. Code quality management, however, is restricted by the high complexity of large-scale software. Currently, it's difficult and inefficient to reproduce and diagnose system failure with logs. This paper surveys log-related work from three aspects including log characterization, failure diagnosis with log and log enhancement. Through detailed study on several widely-used open-source software, the paper reveals some log-related observations, along with the problems which have not been well handled by existing tools. Finally, it proposes several possible log-related work, and analyzes potential challenges. |
| Key words: system log log characterization failure diagnosis log enhancement |