Log output method, device, electronic device and storage medium
By generating and comparing graph data of application server and log information based on business identification, the problem of low efficiency when there are too many logs is solved, and fast and accurate log output is achieved.
CN113986661BActive Publication Date: 2025-04-01泰康保险集团股份有限公司 +1
2 Cites 0 Cited by
Patent Information
- Application Number
- CN202111227266.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-21
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2041-10-21
AI Technical Summary
Technical Problem
When there are many logs, the method of viewing one by one will consume too much time, making the log output less efficient.
Method used
By querying the server information of each application server based on the service identification, the first graph data is generated; then extracting the log information and log text of each application server based on the service identification to generate the second graph data; finally, whether the first graph data and the second graph data are consistent, if the log text is consistent, if the log information error message is sent inconsistently.
Benefits of technology
Through graph data comparison, we can intuitively and quickly determine whether the log output is incorrect, thereby improving the efficiency of log output.
✦ Generated by Eureka AI based on patent content.
Abstract
The present invention discloses a method, device, electronic device and storage medium for log output, and relates to the field of computer technology. A specific implementation of the method includes: querying the corresponding application servers based on the business identifier, obtaining the server information of each application server, calling the preset first graph data model, and generating the first graph data of the corresponding server; extracting the log text of each application server and the log information of each log text based on the business identifier, calling the preset second graph data model, and generating the second graph data of the corresponding log information based on the log information; judging whether the first graph data and the second graph data are consistent; if so, outputting the log text; if not, sending a log information error message. This implementation can solve the problem that when there are a large number of logs, the method of viewing each one will consume too much time, thereby reducing the efficiency of log output.
Need to check novelty before this filing date? Find Prior Art