Automated Logging Is Language-Sensitive: A Multilingual Benchmark and Empirical Study of LLMs
RZRenyi ZhongYLYichen LiYulun WuJinxi KuangYHYintong Huo
Michael R. Lyu RZRenyi Zhong
YLYichen Li
Yulun Wu
Jinxi Kuang
YHYintong Huo

Michael R. Lyu
+6
This paper presents MultiLogBench, a multilingual benchmark spanning six programming-language ecosystems with 63,965 repository-snapshot instances and 744 revision-history cases. Evaluating seven large language models across logging-site localization, framework-anchor matching, severity prediction, message generation, variable recovery, and overall quality reveals that framework-anchor matching is the most language-sensitive component, loop and nested-callable sites are the hardest structural contexts, and model rankings are stable only at the top tier. These patterns persist coarsely on revision-history data, showing that robust claims about automated logging require multilingual evaluation and maintenance-oriented validation.

arXiv ·
· April 19, 2026