Dynamic log control method and system
A control method and log technology, applied in the field of dynamic log control methods and systems, can solve problems such as short development cycle, increased difficulty of problem recurrence, and difficult to reproduce, and achieve auxiliary problem analysis, auxiliary problem recurrence and analysis Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] A dynamic log control method, which is used to control the log service during the operation of the vehicle electronic system, so that the logs output by it can better meet the needs of testers and maintenance personnel, so that it is easier to determine the type and cause of errors.
[0040] Specific methods such as figure 1 shown, including steps such as:
[0041] First, the processing module first reads the configuration of the log parameters, loads the configuration of the log parameters, and then runs the log service. In this embodiment, the log parameters may include, but are not limited to, storage paths, log levels, etc.
[0042] After the log service is running, the system will perform a dynamic log parameter loading step, and perform at least one of the following steps;
[0043] A. This step is a passive loading step. Specifically, the system monitors the log parameter configuration to see if the monitor parameter configuration changes. If the log parameter co...
Embodiment 2
[0050] As the optimization of embodiment 1, the difference between this embodiment and embodiment 1 is: as figure 2 As shown, this embodiment specifically discloses corresponding steps of the log service, such as an output step.
[0051] Among them, when the system needs to output logs according to its own settings or according to user operations, it specifically includes the following steps:
[0052] First, read the log at the current moment, and obtain the log level of the log. The level of the log can be set according to different standards, and it is mainly used to classify the records of the system status. However, the classification standard of this embodiment is to classify according to the degree of error recorded in the system status, specifically. It can be but not limited to classify the log level according to the following methods. In fact, it can be divided according to several different priorities assigned to each event from high to low:
[0053] Urgent Error...
Embodiment 3
[0068] Such as image 3 As shown, this embodiment provides a dynamic log control system based on the above two embodiments, including: a log configuration buffer area, a log recording component, an event recording component, a log management subcomponent, and a screenshot component.
[0069] The log configuration buffer area is used to store and edit log configuration parameters. When the log configuration parameters in the log configuration buffer area change or the system process status changes, the system will reload the log configuration parameters.
[0070] The log recording component is used to store log data and log files recorded when the system is running.
[0071] The event recording component is used to synchronously record the user's operation actions.
[0072] The log management component is used to manage the log file size and / or storage period,
[0073] The screenshot component is used to take a screenshot of the current screen when the log service records an ...
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