EUVIMEDEUVIMED entdecken
Crossref

Not-So-Pretty: Studying and Segmenting Multiline Console Logs

Jianchen Zhao, Kundi Yao, Masanari Kondo, Hetong Dai, Weiyi Shang, Yasutaka Kamei

ACM Transactions on Software Engineering and Methodology · 25.03.2026

DOI: 10.1145/3803019 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 25.03.2026. Verfasst von Jianchen Zhao und 5 weiteren Autor:innen. Die Arbeit nennt 34 Literaturangaben.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Console logs play a crucial role in the development, maintenance, and operation of software systems. However, their diverse and human-oriented formatting presents significant challenges for automated analysis. Most existing log analysis benchmarks and the tools built upon them operate under the assumption that individual log messages correspond to single lines. In reality, console logs frequently span multiple lines and exhibit a wide range of structures and formats, complicating parsing and downstream analysis. In this paper, we conduct a qualitative study on a diverse dataset of console logs, identifying four structural types and ten common formats in multiline log segments. We find that although only 3% of the log messages are multiline, they account for 66% of the content by line count. To address the challenge of parsing log messages that span multiple lines, we also propose a deep learning–based preprocessing approach that splits logs into structurally and semantically consistent segments and assigns labels about their format. Our model, trained on a manually labelled dataset, achieves an F1 score of 0.88 for log segmentation and 0.84 for log format classification. We release our dataset and model to support further research in log analysis.

Zitieren

APA

Zhao, J., Yao, K., Kondo, M., Dai, H., Shang, W., & Kamei, Y. (2026). Not-So-Pretty: Studying and Segmenting Multiline Console Logs. ACM Transactions on Software Engineering and Methodology. https://doi.org/10.1145/3803019

Vancouver

Zhao J, Yao K, Kondo M, Dai H, Shang W, Kamei Y. Not-So-Pretty: Studying and Segmenting Multiline Console Logs. ACM Transactions on Software Engineering and Methodology. 2026. doi:10.1145/3803019

BibTeX
@article{Zhao2026,
  author = {Zhao, Jianchen and Yao, Kundi and Kondo, Masanari and Dai, Hetong and Shang, Weiyi and Kamei, Yasutaka},
  title = {Not-So-Pretty: Studying and Segmenting Multiline Console Logs},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2026},
  doi = {10.1145/3803019}
}
Kostenlos starten →