ConfInLog: Leveraging Software Logs to Infer Configuration Constraints
Shulin ZhouXLXiaodong LiuSLShanshan LiZhouyang JiaYZYuanliang ZhangTeng WangWang LiXiangke Liao
Shulin Zhou
XLXiaodong Liu
SLShanshan Li
Zhouyang Jia
YZYuanliang Zhang
Teng Wang
Wang Li
Xiangke Liao
+8
ConfInLog is a static tool that infers configuration constraints from software logs. The authors observed that log messages often encode such constraints, conducted an empirical study to summarize patterns of configuration-related log messages, and implemented ConfInLog to select configuration-related logs from source code via these patterns and then infer constraints using natural language patterns. On seven open-source systems, ConfInLog inferred 22–163 constraints, 59.5%–61.6% of which were not inferable by prior work, and 29 of 67 submitted patches based on inferred constraints were confirmed by developers.

arXiv ·
· March 22, 2021