2019 · 35 citations · 30 references
ComputingComputer ScienceOperating SystemsSoftware EngineeringSystems ProgrammingConfiguration ManagementLog AnalysisLog ManagementLogging SystemsApplication LoggingChange History TrackingChange LoggingExploratory Case StudyLog FormattingLoggingSystem ConfigurationSystem Log Management
Logging components are an integral element of software systems. These logging components receive the logging requests generated by the logging code and process these requests according to logging configurations. Logging configurations play an important role on the functionality, performance, and reliability of logging. Although recent research has been conducted to understand and improve current practice on logging code, no existing research focuses on logging configurations. To fill this gap, we conduct an exploratory study on logging configuration practice of 10 open-source projects and 10 industrial projects written in Java in various sizes and domains. We quantitatively show how logging configurations are used with respect to logging management, storage, and formatting. We categorize and analyze the change history (1,213 revisions) of logging configurations to understand how the logging configurations evolve. Based on these study results, we reveal 10 findings about current practice of logging configurations. As a proof of concept, we develop a simple detector based on some of our findings. We apply our detector on three popular open-source projects and identify three long-lived issues (more than two years). All these issues are confirmed and two of them have been fixed by the open-source developers.
30
Detecting large-scale system problems by mining console logs
Wei Xu, Ling Huang, Armando Fox et al. · 2009 · 1.3K citations
The impact of tangled code changes
Kim Herzig, Andreas Zeller · 2013 · 272 citations
Where do developers log? an empirical study on logging practices in industry
Qiang Fu, Jieming Zhu, Wenlu Hu et al. · 2014 · 233 citations
Identifying impactful service system problems via log analysis
Shilin He, Qingwei Lin, Jian–Guang Lou et al. · 2018 · 196 citations
Characterizing logging practices in open-source software
Ding Yuan, Soyeon Park, Yuanyuan Zhou · 2012 · 193 citations