@inproceedings{9c533994fc734bcfbae1fc0aae2d3d15,
title = "Where do developers log? An empirical study on logging practices in industry",
abstract = "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.",
keywords = "Automatic logging, Developer survey, Logging practice",
author = "Qiang Fu and Jieming Zhu and Wenlu Hu and Lou, {Jian Guang} and Rui Ding and Qingwei Lin and Dongmei Zhang and Tao Xie",
note = "Copyright: Copyright 2014 Elsevier B.V., All rights reserved.; 36th International Conference on Software Engineering, ICSE 2014 ; Conference date: 31-05-2014 Through 07-06-2014",
year = "2014",
doi = "10.1145/2591062.2591175",
language = "English (US)",
isbn = "9781450327688",
series = "36th International Conference on Software Engineering, ICSE Companion 2014 - Proceedings",
publisher = "Association for Computing Machinery",
pages = "24--33",
booktitle = "36th International Conference on Software Engineering, ICSE Companion 2014 - Proceedings",
address = "United States",
}