An automated approach for abstracting execution logs to execution events

  • Authors:
  • Zhen Ming Jiang;Ahmed E. Hassan;Gilbert Hamann;Parminder Flora

  • Affiliations:
  • School of Computing, Queen's University, Kingston, Ont., Canada;School of Computing, Queen's University, Kingston, Ont., Canada;Enterprise Performance Engineering, Research In Motion (RIM), Waterloo, Ont., Canada;Enterprise Performance Engineering, Research In Motion (RIM), Waterloo, Ont., Canada

  • Venue:
  • Journal of Software Maintenance and Evolution: Research and Practice - Special Issue on Program Comprehension through Dynamic Analysis (PCODA)
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Execution logs are generated by output statements that developers insert into the source code. Execution logs are widely available and are helpful in monitoring, remote issue resolution, and system understanding of complex enterprise applications. There are many proposals for standardized log formats such as the W3C and SNMP formats. However, most applications use ad hoc non-standardized logging formats. Automated analysis of such logs is complex due to the loosely defined structure and a large non-fixed vocabulary of words. The large volume of logs, produced by enterprise applications, limits the usefulness of manual analysis techniques. Automated techniques are needed to uncover the structure of execution logs. Using the uncovered structure, sophisticated analysis of logs can be performed. In this paper, we propose a log abstraction technique that recognizes the internal structure of each log line. Using the recovered structure, log lines can be easily summarized and categorized to help comprehend and investigate the complex behavior of large software applications. Our proposed approach handles free-form log lines with minimal requirements on the format of a log line. Through a case study using log files from four enterprise applications, we demonstrate that our approach abstracts log files of different complexities with high precision and recall. Copyright © 2008 John Wiley & Sons, Ltd.