Log Statements Generation via Deep Learning: Widening the Support Provided to Developers
Not on the map. Why?
Abstract (arXiv)
Logging assists in monitoring events that transpire during the execution of software. Previous research has highlighted the challenges confronted by developers when it comes to logging, including dilemmas such as where to log, what data to record, and which log level to employ (e.g., info, fatal). In this context, we introduced LANCE, an approach rooted in deep learning (DL) that has demonstrated the ability to correctly inject a log statement into Java methods in ~15% of cases. Nevertheless, LANCE grapples with two primary constraints: (i) it presumes that a method necessitates the inclusion of logging statements and; (ii) it allows the injection of only a single (new) log statement, even in situations where the injection of multiple log statements might be essential. To address these limitations, we present LEONID, a DL-based technique that can distinguish between methods that do and do not require the inclusion of log statements. Furthermore, LEONID supports the injection of multiple log statements within a given method when necessary, and it also enhances LANCE's proficiency in generating meaningful log messages through the combination of DL and Information Retrieval (IR).
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 8 Nov 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 3.
3 papers.
- 2025Automated File-Level Logging Generation for Machine Learning Applications using LLMs: A Case Study using GPT-4o Minicited by 1
- 2025AutoLogger: A Multi-Agent Framework for the End-to-End Automated Loggingcited by 1
- 2025Architecting software monitors for control-flow anomaly detection through large language models and conformance checkingcited by 0
- 2025AutoLogger: A Multi-Agent Framework for the End-to-End Automated Logging23 Nov 2025
- 2025Architecting software monitors for control-flow anomaly detection through large language models and conformance checking14 Nov 2025
- 2025Automated File-Level Logging Generation for Machine Learning Applications using LLMs: A Case Study using GPT-4o Mini6 Aug 2025