AutoLog: facing log redundancy and insufficiency

Cheng Zhang,Zhenyu Guo,Ming Wu,Longwen Lu,Yu Fan,Jianjun Zhao,Zheng Zhang
DOI: https://doi.org/10.1145/2103799.2103811
2011-01-01
Abstract:Logs are valuable for failure diagnosis and software debugging in practice. However, due to the ad-hoc style of inserting logging statements, the quality of logs can hardly be guaranteed. In case of a system failure, the log file may contain a large number of irrelevant logs, while crucial clues to the root cause may still be missing. In this paper, we present an automated approach to log improvement based on the combination of information from program source code and textual logs. It selects the most relevant ones from an ocean of logs to help developers focus and reason along the causality chain, and generates additional informative logs to help developers discover the root causes of failures. We have conducted a preliminary case study using an implementation prototype to demonstrate the usefulness of our approach.
What problem does this paper attempt to address?