Log processing method and device
A processing method and log technology, which is applied in the computer field, can solve problems such as occupying a large storage space, no log storage, and affecting the efficiency of troubleshooting problems, and achieve the effects of troubleshooting errors, saving storage resources, and saving storage space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0108] Example 1) The preset condition is that the program exits abnormally
[0109] by image 3 For example, when a program in the cloud platform 30 exits abnormally, based on the log data of the debugging level (first level) and the log data of the important level (second level), a corresponding program is formed from the start of operation to meeting the predetermined The log file during the condition setting period, here, the importance level is any level except the debug level in the aforementioned levels, such as error level, information level, warning level, etc.
[0110] In one embodiment, when the program starts to run, once the log data of the important level output by the program is obtained, the log data of the important level is written into the log file. Moreover, when the program exits abnormally (that is, when the running state of the program meets the preset conditions for abnormal exit), the log data of the debug level is also written into the log file, so t...
example 2
[0114] Example 2) The preset condition is that the program ends normally
[0115] by image 3 For example, when the program in the cloud platform 40 exits abnormally, based on the log data of the importance level (second level), a log file is formed corresponding to the period from the start of the program to satisfying the preset condition. Here, the importance level It is any one of the aforementioned levels except the debugging level, such as error level, information level, warning level, etc.
[0116] In one embodiment, when the program starts to run, once the log data of the important level output by the program is obtained, the log data of the important level is written into the log file until the program ends, when the program does not exit abnormally (that is, When the running state of the program satisfies the preset conditions for the end of normal operation), since the program does not exit abnormally, there is no need to form a log file based on the log data of th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com