A Tool for Rejuvenating Feature Logging Levels via Git Histories and Degree of Interest

12/06/2021
by   Yiming Tang, et al.
0

Logging is a significant programming practice. Due to the highly transactional nature of modern software applications, massive amount of logs are generated every day, which may overwhelm developers. Logging information overload can be dangerous to software applications. Using log levels, developers can print the useful information while hiding the verbose logs during software runtime. As software evolves, the log levels of logging statements associated with the surrounding software feature implementation may also need to be altered. Maintaining log levels necessitates a significant amount of manual effort. In this paper, we demonstrate an automated approach that can rejuvenate feature log levels by matching the interest level of developers in the surrounding features. The approach is implemented as an open-source Eclipse plugin, using two external plug-ins (JGit and Mylyn). It was tested on 18 open-source Java projects consisting of  3 million lines of code and  4K log statements. Our tool successfully analyzes 99.22 statements, increases log level distributions by  20 of logs in bug fix contexts  83 readers can watch our demonstration video (https://www.youtube.com/watch?v=qIULoAXoDv4).

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset