An Automatic Approach to Validating Log Levels in Java

  • Kim, Taeyoung
  • Kim, Suntae
  • Yoo, Cheol-Jung
  • Cho, Soohwan
  • Park, Sooyong
Citations

WEB OF SCIENCE

5
Citations

SCOPUS

8

초록

A log statement is used to record important runtime behavior of software systems for diverse reasons, which is inevitable to develop most of the software systems. However, developers do not tend to deeply consider an appropriate log level in their source code. In order to address the issues, this paper proposes an automatic approach to validating log levels in Java in consideration of the syntactic as well as semantic features. We first build up the Word2Vec model and generate semantic and syntactic log feature vectors, then train the machine learning classifiers to automatically validate the log levels. For the evaluation, we collected six open source projects of the message-oriented middleware domain, and obtained the 88% precision and the 87% recall respectively.

키워드

log statementlog levelWord2Veclog feature vectorclassification model
제목
An Automatic Approach to Validating Log Levels in Java
저자
Kim, TaeyoungKim, SuntaeYoo, Cheol-JungCho, SoohwanPark, Sooyong
DOI
10.1109/APSEC.2018.00078
발행일
2018-07-02
유형
Proceedings Paper
저널명
Proceedings - Asia-Pacific Software Engineering Conference, APSEC
2018-December
페이지
623 ~ 627