상세 보기
An Automatic Approach to Validating Log Levels in Java
- Kim, Taeyoung;
- Kim, Suntae;
- Yoo, Cheol-Jung;
- Cho, Soohwan;
- Park, Sooyong
WEB OF SCIENCE
5SCOPUS
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.
키워드
- 제목
- An Automatic Approach to Validating Log Levels in Java
- 저자
- Kim, Taeyoung; Kim, Suntae; Yoo, Cheol-Jung; Cho, Soohwan; Park, Sooyong
- 발행일
- 2018-07-02
- 유형
- Proceedings Paper
- 저널명
- Proceedings - Asia-Pacific Software Engineering Conference, APSEC
- 권
- 2018-December
- 페이지
- 623 ~ 627