A Tool for Rejuvenating Feature Logging Levels via Git Histories and Degree of Interest
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 propose 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% of logging statements, increases log level distributions by ~20%, and increases the focus of logs in bug fix contexts ~83% of the time. For further details, interested readers can watch our demonstration video (https://www.youtube.com/watch?v=qIULoAXoDv4).
Wed 11 MayDisplayed time zone: Eastern Time (US & Canada) change
11:00 - 12:00 | Program ComprehensionDEMO - Demonstrations at ICSE Demo room 1 Chair(s): Xiaoyin Wang University of Texas at San Antonio | ||
11:00 15mDemonstration | CIDER: Concept-based Interactive Design Recovery DEMO - Demonstrations Hongzhou Fang Drexel University, Yuanfang Cai Drexel University, Rick Kazman University of Hawai‘i at Mānoa, Jason Lefever Drexel University | ||
11:15 15mDemonstration | NaturalCC: An Open-Source Toolkit for Code Intelligence DEMO - Demonstrations Yao Wan Huazhong University of Science and Technology, Yang He University of Technology Sydney, Zhangqian Bi Huazhong University of Science and Technology, Jian-Guo Zhang University of Illinois at Chicago, Yulei Sui University of Technology Sydney, Hongyu Zhang University of Newcastle, Kazuma Hashimoto Google Research, Hai Jin Huazhong University of Science and Technology, Guandong Xu University of Technology, Sydney, Caiming Xiong Salesforce Research, philip yu University of Illinois at Chicago Media Attached | ||
11:30 15mDemonstration | COSPEX: A Program Comprehension Tool for Novice Programmers DEMO - Demonstrations Nakshatra Gupta Indian Institute of Technology Tirupati, Ashutosh Rajput Indian Institute of Technology Tirupati, Sridhar Chimalakonda Indian Institute of Technology Tirupati Pre-print Media Attached | ||
11:45 15mDemonstration | A Tool for Rejuvenating Feature Logging Levels via Git Histories and Degree of Interest DEMO - Demonstrations Yiming Tang Concordia University, Allan Spektor City University of New York (CUNY) Hunter College, Raffi Khatchadourian City University of New York (CUNY) Hunter College, Mehdi Bagherzadeh Oakland University Pre-print Media Attached |