2014 · 233 citations · 18 references
ComputingComputer ScienceInformation SystemsData AnalyticsSoftware EngineeringSystems ProgrammingLog AnalysisLog ManagementSystems Development Life CycleAccuracyApplication LoggingEmpirical EvaluationError LoggingLoggingSource Code AnalysisSystem Log AnalysisSystem Log Management
System logs are widely used in various tasks of software system management. It is crucial to avoid logging too little or too much. To achieve so, developers need to make informed decisions on where to log and what to log in their logging practices during development. However, there exists no work on studying such logging practices in industry or helping developers make informed decisions. To fill this significant gap, in this paper, we systematically study the logging practices of developers in industry, with focus on where developers log. We obtain six valuable findings by conducting source code analysis on two large industrial systems (2.5M and 10.4M LOC, respectively) at Microsoft. We further validate these findings via a questionnaire survey with 54 experienced developers in Microsoft. In addition, our study demonstrates the high accuracy of up to 90% F-Score in predicting where to log.
18
Steven L. Salzberg, Alberto M. Segre · 1994 · 5.8K citations
Execution Anomaly Detection in Distributed Systems through Unstructured Log Analysis
Qiang Fu, Jian–Guang Lou, Yi Wang et al. · 2009 · 557 citations
Advances and challenges in log analysis
Adam J. Oliner, Archana Ganapathi, Wei Xü · Communications of the ACM · 2012 · 288 citations
Mining invariants from console logs for system problem detection
Jian–Guang Lou, Qiang Fu, Shengqi Yang et al. · 2010 · 256 citations