English

Log severity levels matter: A multivocal mapping

Software Engineering 2021-12-08 v3

Abstract

The choice of log severity level can be challenging and cause problems in producing reliable logging data. However, there is a lack of specifications and practical guidelines to support this challenge. In this study, we present a multivocal systematic mapping of log severity levels from peer-reviewed literature, logging libraries, and practitioners' views. We analyzed 19 severity levels, 27 studies, and 40 logging libraries. Our results show redundancy and semantic similarity between the levels and a tendency to converge the levels for a total of six levels. Our contributions help leverage the reliability of log entries: (i) mapping the literature about log severity levels, (ii) mapping the severity levels in logging libraries, (iii) a set of synthesized six definitions and four general purposes for severity levels. We recommend that developers use a standard nomenclature, and for logging library creators, we suggest providing accurate and unambiguous definitions of log severity levels.

Cite

@article{arxiv.2109.01192,
  title  = {Log severity levels matter: A multivocal mapping},
  author = {Eduardo Mendes and Fabio Petrillo},
  journal= {arXiv preprint arXiv:2109.01192},
  year   = {2021}
}

Comments

12 pages, 4 figures, 6 tables

R2 v1 2026-06-24T05:38:36.351Z