Method and device for adjusting log level of equipment, storage medium and electronic device
An adjustment method and level technology, applied in the computer field, can solve the problem of log level division taking a long time, unable to effectively verify the rationality of the level, etc., to achieve the effect of solving the long time-consuming division
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] The method embodiment provided in Embodiment 1 of the present application may be executed in a terminal, a computer terminal, or a similar computing device. Take running on the terminal as an example, figure 1 It is a hardware structural block diagram of a terminal of a method for dynamically identifying data sources in an embodiment of the present invention. Such as figure 1 As shown, the terminal 10 may include one or more ( figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA) and memory 104 for storing data. Optionally, the above-mentioned terminal can also be A transmission device 106 for communication functions and an input and output device 108 are included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and does not limit the structure of the above-mentioned terminal. ...
Embodiment 2
[0053] In this embodiment, a device for identifying a data source is also provided, and the device is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0054] Figure 4 is a structural schematic diagram of a device log level adjustment device according to an embodiment of the present invention, such as Figure 4 As shown, the device includes:
[0055] Obtaining module 42, used for obtaining the operating conditions of the equipment;
[0056] The adjustment module 44 is configured to adjust the log level of the current device according to the operation situation.
[0057] Op...
Embodiment 3
[0064] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.
[0065] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:
[0066] S1, obtaining the operation status of the device;
[0067] S2. Adjust the log level of the current device according to the operation situation.
[0068] Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.
[0069] An embodiment of the present invention also provides an electronic device, including a memory and ...
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