Using GGNN to recommend log statement level
Mingzhe Li, Jianrui Pei, Jin He, Kevin Song, Frank Che, Yongfeng, Huang, Chitai Wang

TL;DR
This paper applies Gated Graph Neural Networks to predict appropriate log statement levels in Java projects, aiming to improve software debugging and maintenance by automating log level suggestions.
Contribution
It introduces the use of GGNN for log level prediction in source code, demonstrating its effectiveness on open source Java projects.
Findings
GGNN achieves good performance in log level prediction
The approach can assist developers in log management
Potential to integrate into software development workflows
Abstract
In software engineering, log statement is an important part because programmers can't access to users' program and they can only rely on log message to find the root of bugs. The mechanism of "log level" allows developers and users to specify the appropriate amount of logs to print during the execution of the software. And 26\% of the log statement modification is to modify the level. We tried to use ML method to predict the suitable level of log statement. The specific model is GGNN(gated graph neural network) and we have drawn lessons from Microsoft's research. In this work, we apply Graph Neural Networks to predict the usage of log statement level of some open source java projects from github. Given the good performance of GGNN in this task, we are confident that GGNN is an excellent choice for processing source code. We envision this model can play an important role in applying…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Testing and Debugging Techniques
