Patent ID: 11740955

Abstract:
Embodiments of the present disclosure relate to a method for providing log information, an electronic device, and a computer program product. A method for providing log information includes: determining a first set of semantic segments including fault information from multiple semantic segments into which a set of log files of a target system is divided; extracting key information specific to the target system from the first set of semantic segments; determining, based on the extracted key information, an application scenario involved in the fault information and at least one log file related to the application scenario in the set of log files; determining a second set of semantic segments including the key information from multiple semantic segments into which the at least one log file is divided; and providing the first set of semantic segments and the second set of semantic segments by highlighting the fault information and the key information in the first set of semantic segments and the second set of semantic segments. The embodiments of the present disclosure contribute to improving the efficiency of a user in locating the cause of a system fault, thereby improving user satisfaction.