一句话:提出基于 LLM 的两阶段策略并实现 LogConfigLocalizer,帮助终端用户仅凭日志定位配置错误根因属性。
可配置软件系统易出现配置错误,给企业带来严重损失;但配置空间庞大复杂,使诊断极具挑战,尤其对无法访问系统源码的终端用户而言。日志是多数终端用户容易获取的信息,作者先开展初步研究,梳理利用日志定位配置错误的挑战与机会。基于这些洞见,论文提出一种面向终端用户的基于 LLM 的两阶段策略,从日志中定位根因配置属性,并实现工具 LogConfigLocalizer 来支撑该策略,旨在帮助终端用户通过日志分析应对配置错误。
Configurable software systems are prone to configuration errors, resulting in significant losses to companies. However, diagnosing these errors is challenging due to the vast and complex configuration space. These errors pose significant challenges for both experienced maintainers and new end-users, particularly those without access to the source code of the software systems. Given that logs are easily accessible to most end-users, we conduct a preliminary study to outline the challenges and opportunities of utilizing logs in localizing configuration errors. Based on the insights gained from the preliminary study, we propose an LLM-based two-stage strategy for end-users to localize the root-cause configuration properties based on logs. We further implement a tool, LogConfigLocalizer, aligned with the design of the aforementioned strategy, hoping to assist end-users in coping with configuration errors through log analysis.
@inproceedings{paperbot8587,
title = {Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs},
author = {Shiwen Shan and Yintong Huo and Yuxin Su and Yichen Li and Dan Li and Zibin Zheng},
booktitle = {ISSTA},
year = {2024},
doi = {10.1145/3650212.3652106}
}