CN108897663B - Log output control method and device - Google Patents
Log output control method and device Download PDFInfo
- Publication number
- CN108897663B CN108897663B CN201810632284.4A CN201810632284A CN108897663B CN 108897663 B CN108897663 B CN 108897663B CN 201810632284 A CN201810632284 A CN 201810632284A CN 108897663 B CN108897663 B CN 108897663B
- Authority
- CN
- China
- Prior art keywords
- log
- load
- level
- software
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3433—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment for load management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application provides a log output control method and device. In the application, the load control software based on the software system during the software running can only generate and output the logs with the log grade greater than or equal to the current load matching log grade in the subsequent running process, and inhibit the software from generating and outputting the logs with other log grades less than the current load matching log grade in the subsequent running process, so that the output of different logs under different loads is realized, and the further loss of the software system can be reduced by inhibiting the generation and the output of non-important logs (the log grade is less than the current load matching log grade) on the premise that the load of the software system is serious.
Description
Technical Field
The present application relates to software technologies, and in particular, to a log output control method and apparatus.
Background
The software can automatically generate and output logs in the running process so as to facilitate the evaluation of the system and the software environment and help software developers to locate problems occurring in the running process of the software.
However, more and more logs bring performance problems, and the occupation of storage space such as disk, memory and other resources is more remarkable. Moreover, when the system load is large or when the system is abnormal, the logs suddenly increase, and the system load is further increased by outputting a large amount of suddenly increased logs, so that more adverse effects are brought to the original software operation with heavy load.
Disclosure of Invention
The application provides a log output control method and a log output control device, which are used for dynamically adjusting the output of logs according to the current system load and inhibiting a large amount of log output from aggravating the system load.
The technical scheme provided by the application comprises the following steps:
a log output control method, comprising:
monitoring the load of a software system during software operation;
if the current monitored load meets the log output level switching condition, determining the log level matched with the current monitored load, switching the log output level to the log level matched with the current monitored load, and allowing the software to generate and output the log meeting the condition in the running process, wherein the condition is as follows: and the log grade is greater than or equal to the switched log output grade, and the logs which do not meet the conditions are inhibited from being generated and output in the running process of the software.
A log output control apparatus, comprising:
the monitoring unit is used for monitoring the load of the software system during the software operation;
a control unit, configured to, when it is checked that a currently monitored load meets a log output level switching condition, determine a log level matching the currently monitored load, switch the log output level to the log level matching the currently monitored load, and allow the software to generate and output a log meeting the condition in an operating process, where the condition is: and the log grade is greater than or equal to the switched log output grade, and the logs which do not meet the conditions are inhibited from being generated and output in the running process of the software.
According to the technical scheme, the load control software based on the currently monitored software system can only generate and output logs with the log grade larger than or equal to the log grade matched with the currently monitored load in the subsequent running process, and can inhibit the software from generating and outputting logs with the log grade smaller than the log grade matched with the current load in the subsequent running process, so that the output of different logs under different loads is realized, and the further loss of the software system can be reduced by inhibiting the generation and the output of the logs with the log grade smaller than the log grade matched with the load on the premise that the load of the software system is severe.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of an embodiment provided herein;
fig. 2 is a flowchart of an embodiment of checking that a current load meets a log output level switching condition provided in the present application;
FIG. 3 is a block diagram of the apparatus provided in the present application;
fig. 4 is a hardware structure diagram of the device provided in the present application.
Detailed Description
Logs generated by software in the running process are distinguished by grades, and typical log grades are divided into the following grades: ERRORs (ERROR), alarms (WARN), hints (INFO), Debugging (DEBUG), etc., with different levels of logs representing different degrees of importance. Here, the log level is compiled in the software running code in advance, and in the software running process, a log corresponding to the log level is generated and output in combination with the current running behavior of the software.
Based on the log grade, in the application, the log grade matched with the current load can be dynamically determined according to the current load of the software system, only the log output matched with the current load is allowed, the log output unmatched with the current load is restrained, the output of the log is controlled according to the load of the software system, and the load of the software system is restrained from being aggravated by a large amount of log output.
For the purposes of clarity, the present application will now be described with reference to the accompanying drawings and examples:
referring to fig. 1, fig. 1 is a flow chart of an embodiment provided in the present application. As shown in fig. 1, the process may include the following steps:
and step 101, monitoring the load (recorded as the current load) of the software system during the software operation.
As an embodiment, in this step 101, monitoring the current load of the software system during the software operation may be implemented by executing a load monitoring thread pre-compiled in the software at a timing or a cycle. The timing time or the cycle time may be set according to actual requirements, and is not limited in detail here.
In this application, the current load is substantially a load of the software system, which can be characterized by at least one of resources such as disk usage, memory usage, CPU usage, and the like.
In the present application, the log output level is equivalent to a switch, which is used to control which logs should be generated and output, as described in this step 102, once the log output level is switched to the log level matching the current load, this means that only logs meeting the condition (the log level is greater than the switched log output level) are generated and output by the software in the running process, and although the log logic corresponding to logs not meeting the condition (the log level is less than or equal to the switched log output level) is compiled in the software initially, the present application also changes the original log logic to ensure that the logs not meeting the condition are no longer generated and output by the software in the running process, and it is not possible to generate and output logs that are not met by the subsequent log output level switching process again.
Thus, the flow shown in fig. 1 is completed.
As can be seen from the process shown in fig. 1, in the present application, by monitoring the current load of the software system during software operation, and controlling, based on the current load, that the software can only generate and output a log (referred to as an important log for short) whose log level is greater than or equal to the log level matched with the current load in the subsequent operation process, and suppressing the software from generating and outputting other non-important logs (whose log level is less than the log level matched with the current load) in the subsequent operation process, output of different logs under different loads is achieved, and on the premise that the load of the software system is severe, further loss of the software system can be reduced by suppressing generation and output of non-important logs (whose log level is less than the log level matched with the current load).
As an embodiment, in order to facilitate the checking that the current load meets the log output level switching condition in step 102 and determine the log level matching the current load, in the present application, several load intervals may be preset according to actual requirements, and the log level matching each load interval may be set. Taking the current load as the disk usage as an example, for example, 4 disk usage intervals and matching log levels set for the disk usage are as follows:
disk usage interval 1: the utilization rate of the disk is less than 50%, and the matched log level is INFO;
disk usage interval 2: the utilization rate of the disk is more than or equal to 50% and less than 80%, and the matched log grade is WARN;
disk usage interval 3: the usage rate of the disk is more than or equal to 80% and less than 90%, and the matched log level is ERROR.
Disk usage interval 4: the usage rate of the disk is greater than or equal to 90%, the matched log grade is a preset grade upper limit value, and the preset grade upper limit value is used for indicating that the generation and output of the log are inhibited. Here, the reason why the preset level upper limit value is set for indicating that the log generation and output are prohibited when the disk usage rate is 90% or more is that: and once the disk utilization rate is in the disk utilization rate interval 4, indicating to inhibit log generation and output by setting a preset grade upper limit value to finally achieve the aim that the inhibition software generates and outputs a log in the running process when the disk utilization rate is more than or equal to 90 percent. It should be noted that the preset upper limit value of the level may be greater than the log level of any log to be generated based on the pre-compiled log logic in the software.
Based on the preset, the step 102 of checking that the current load meets the log output level switching condition may include the process shown in fig. 2.
Referring to fig. 2, fig. 2 is a flowchart illustrating an embodiment of checking that a current load meets a log output level switching condition. As shown in fig. 2, the process may include the following steps:
Here, the first load section is named for convenience of description only and is not limited.
Here, the second load section is named for convenience of description, and is not limited.
It should be noted that, if the current load is monitored by performing the monitoring operation for the first time, it indicates that there is no last monitored load at this time, and for this situation, as an embodiment, the present application may default that the first load interval is different from the second load interval where the last monitored load is located.
Thus, the flow shown in fig. 2 is completed.
Based on the flow shown in fig. 2, in the step 102, determining the log level matching the current load may include:
determining a pre-designated log grade matched with a first load interval where the current load is located as a log grade matched with the current load;
it should be noted that, as described above for the disk usage interval 4, when the first load interval is a specified upper limit load interval, the log level matching the first load interval is a preset upper limit level, and the preset upper limit level is used to instruct to suppress log generation and output.
So far, by the above description, how to check that the current load satisfies the log output level switching condition and how to determine the log level matching the current load in step 102 can be realized.
It should be noted that, in this application, as an embodiment, when it is checked that the current load does not satisfy the log output level switching condition, the method may further include:
and maintaining the log output level unchanged, continuously allowing the software to generate and output logs with the log level greater than or equal to the log output level in the running process, and continuously inhibiting the software from generating and outputting logs with the log level less than the log output level in the running process.
The following describes an embodiment of the present application by taking a load as a disk usage rate as an example:
in this embodiment, a disk usage monitoring thread is pre-compiled in software for periodically monitoring the disk usage.
In this embodiment, 4 disk usage intervals and log levels matched with 4 adjustment points are set for the disk usage, which are specifically as follows:
disk usage interval 1: the utilization rate of the disk is less than 50%, and the matched log grade is INFO;
disk usage interval 2: the utilization rate of the disk is more than or equal to 50% and less than 80%, and the matched log grade is WARN;
disk usage interval 3: the usage rate of the disk is more than or equal to 80% and less than 90%, and the matched log level is ERROR.
Disk usage interval 4: the usage rate of the disk is greater than or equal to 90%, the matched log grade is a preset grade upper limit value, and the preset grade upper limit value is used for indicating that the generation and output of the log are inhibited. In the present embodiment, different log levels represent different degrees of importance, wherein the greater the log level, the greater the degree of importance. In this embodiment, the journal level ERROR is greater than the journal level WARN, and the journal level WARN is greater than the journal level INFO. As an embodiment, the preset level upper limit value may be greater than the log level WARN.
In the first monitoring period, the disk utilization monitoring thread monitors that the disk utilization is 40%, the disk utilization is 40% in the disk utilization interval 1, because the disk utilization rate of 40% is monitored in the first monitoring period, at this time, it can be directly defaulted that the disk utilization rate interval 1 in which the disk utilization rate of 40% is located and the disk utilization rate interval in which the last monitored disk utilization rate of 40% is located are changed, and the disk utilization rate of 40% meets the log output level switching condition, based on this, the log level matched with the disk usage rate interval 1 in which the disk usage rate is 40% is searched, the log level matched with the disk usage rate interval 1 is found to be INFO, the log output level is switched to INFO, the software in the period is allowed to generate and output the log with the log level being more than or equal to INFO in the running process, and the software is inhibited from generating and outputting the log with the log level being less than INFO in the running process.
In the second monitoring period, the disk usage rate monitoring thread monitors that the disk usage rate is 30%, the disk usage rate is 30% in the disk usage rate interval 1, and finds that the disk usage rate interval 1 in which the disk usage rate is 30% and the disk usage rate interval in which the last monitored disk usage rate is 40% do not change, at this time, the log output level is continuously maintained to be INFO, the software in the period is allowed to generate and output a log with the log level being greater than or equal to INFO in the running process, and the software is inhibited from generating and outputting a log with the log level being less than INFO in the running process.
In the third monitoring period, the disk utilization monitoring thread monitors that the disk utilization is 60%, the disk utilization is 60% in the disk utilization interval 2, when the disk usage rate interval 2 in which the disk usage rate is 60% and the disk usage rate interval 1 in which the last monitored disk usage rate is 30% are found to be changed, the disk usage rate of 60% meets the log output level switching condition, based on this, searching the log grade matched with the disk utilization rate interval 2 with the disk utilization rate of 60 percent, determining the log grade matched with the disk utilization rate interval 2 as WARN, and switching the log output level from the original INFO to WARN, allowing the software to generate and output a log with the log level greater than or equal to the WARN in the running process in the period, and inhibiting the software from generating and outputting the log with the log level less than the WARN in the running process.
In the fourth monitoring period, the disk utilization monitoring thread monitors that the disk utilization is 85%, the disk utilization 85% is in the disk utilization interval 3, when the disk usage interval 3 in which the disk usage rate of 85% is located and the disk usage interval 2 in which the last monitored disk usage rate of 60% is located are found to be changed, the disk usage rate of 85% meets the log output level switching condition, based on this, the log level matched with the disk usage rate interval 3 in which the disk usage rate is 85% is searched, the log level matched with the disk usage rate interval 3 is found to be ERROR, and switching the log output level from the original WARN to ERROR, allowing the software to generate and output logs with the log level greater than or equal to the ERROR in the running process in the period, and inhibiting the software from generating and outputting logs with the log level less than the ERROR in the running process.
In a fifth monitoring period, a disk utilization rate monitoring thread monitors that the disk utilization rate is 95%, the disk utilization rate is 95% in the disk utilization rate interval 4, the disk utilization rate interval 4 in which the disk utilization rate is 95% and the disk utilization rate interval 3 in which the disk utilization rate is 85% are monitored last time are found to be changed, at this time, the disk utilization rate is 95% and meets the log output level switching condition, on the basis, the log level matched with the disk utilization rate interval 4 in which the disk utilization rate is 95% is found, the log level matched with the disk utilization rate interval 4 is found to be the appointed maximum log level, the log output level is switched from the original ERROR to the appointed maximum log level, and on the basis of the appointed maximum log level, the generation and the output of the log in the running process of the software in the period are inhibited.
The operation of each period is similar to that described above, and is not described in detail here.
Thus, the description of the embodiments is completed.
It can be seen from the foregoing embodiments that, in this embodiment, the disk usage rate is associated with the log output level, when the disk usage rate is low, the log output level is relatively low, a large number of logs are generated and output, whereas when the disk usage rate is high, the log output level is relatively high, a small number of logs whose log levels are greater than or equal to the log output level are generated and output, which obviously inhibits the system load from being aggravated by a large number of log outputs when the disk usage rate is high.
The methods provided herein are described above. The following describes the apparatus provided in the present application:
referring to fig. 3, fig. 3 is a diagram illustrating the structure of the apparatus according to the present invention. As shown in fig. 3, the log output control device includes:
the monitoring unit is used for monitoring the load of the software system during the software operation;
a control unit, configured to, when it is checked that a currently monitored load meets a log output level switching condition, determine a log level matching the currently monitored load, switch the log output level to the log level matching the currently monitored load, and allow the software to generate and output a log meeting the condition in an operating process, where the condition is: and the log grade is greater than or equal to the switched log output grade, and the logs which do not meet the conditions are inhibited from being generated and output in the running process of the software.
As an embodiment, the checking, by the control unit, that the currently monitored load satisfies the log output level switching condition includes:
searching a load interval where the currently monitored load is located from preset load intervals;
and checking whether the searched load interval is different from the load interval in which the last monitored load is positioned, and if so, determining that the currently monitored load meets the log output level switching condition.
As an embodiment, the control unit determining the log level matching the currently monitored load includes:
determining a pre-specified log grade matched with a load interval where the currently monitored load is located as a log grade matched with the currently monitored load;
when the load interval where the currently monitored load is located is the specified load upper limit interval, the log level matched with the load interval where the currently monitored load is located is a preset level upper limit value, and the preset level upper limit value is used for indicating that log generation and output are inhibited.
As an embodiment, the control unit further maintains the log output level when it is checked that the currently monitored load does not satisfy the log output level switching condition, continues to allow the software to generate and output a log having a log level greater than or equal to the log output level during the operation, and continues to suppress the software from generating and outputting a log having a log level less than the log output level during the operation.
As one embodiment, the control unit monitors the load of the software system in the running process of the software periodically or periodically.
Thus, the device structure shown in fig. 3 is completed.
Correspondingly, the application also provides a hardware structure of the device shown in fig. 3.
Referring to fig. 4, fig. 4 is a hardware structure diagram of the device provided in the present application. As shown in fig. 4, the hardware structure may include: a machine-readable storage medium and a processor, wherein:
a machine-readable storage medium: the instruction code is stored.
A processor: the log output control method disclosed by the above example of the application is realized by communicating with a machine-readable storage medium, reading and executing the instruction codes stored in the machine-readable storage medium.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The apparatuses, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims (10)
1. A log output control method, characterized by comprising:
monitoring the load of a software system during software operation;
if the currently monitored load meets the log output level switching condition, determining a log level matched with the currently monitored load, wherein when a load interval in which the currently monitored load is located is a specified load upper limit interval, the log level matched with the load interval in which the currently monitored load is located is a preset level upper limit value, and the preset level upper limit value is used for indicating that log generation and output are inhibited;
and switching the log output level to a log level matched with the currently monitored load, and allowing the software to generate and output a log meeting conditions in the running process, wherein the conditions are as follows: and the log grade is greater than or equal to the switched log output grade, and the logs which do not meet the conditions are inhibited from being generated and output in the running process of the software.
2. The method of claim 1, wherein the checking that the currently monitored load satisfies a log output level switching condition comprises:
searching a load interval where the currently monitored load is located from preset load intervals;
and checking whether the searched load interval is different from the load interval in which the last monitored load is positioned, and if so, determining that the currently monitored load meets the log output level switching condition.
3. The method of claim 2, wherein determining a log level that matches a currently monitored load comprises:
and determining a pre-specified log grade matched with the load interval where the currently monitored load is located as the log grade matched with the currently monitored load.
4. The method of claim 1, wherein when it is checked that the currently monitored load does not satisfy the log output level switching condition, the method further comprises:
and maintaining the log output level unchanged, continuously allowing the software to generate and output logs with the log level greater than or equal to the log output level in the running process, and continuously inhibiting the software from generating and outputting logs with the log level less than the log output level in the running process.
5. The method of claim 1,
the load of the monitoring software system during the running of the software is executed in a timing or periodic mode.
6. A log output control apparatus, characterized by comprising:
the monitoring unit is used for monitoring the load of the software system during the software operation;
the control unit is used for determining a log grade matched with the currently monitored load when the currently monitored load is checked to meet a log output grade switching condition, wherein when a load interval where the currently monitored load is located is a specified load upper limit interval, the log grade matched with the load interval where the currently monitored load is located is a preset grade upper limit value, and the preset grade upper limit value is used for indicating that log generation and output are inhibited; and switching the log output level to a log level matched with the currently monitored load, and allowing the software to generate and output a log meeting conditions in the running process, wherein the conditions are as follows: and the log grade is greater than or equal to the switched log output grade, and the logs which do not meet the conditions are inhibited from being generated and output in the running process of the software.
7. The apparatus of claim 6, wherein the control unit checking that the currently monitored load satisfies the log output level switching condition comprises:
searching a load interval where the currently monitored load is located from preset load intervals;
and checking whether the searched load interval is different from the load interval in which the last monitored load is positioned, and if so, determining that the currently monitored load meets the log output level switching condition.
8. The apparatus of claim 7, wherein the control unit determining a log level matching a currently monitored load comprises:
and determining a pre-specified log grade matched with the load interval where the currently monitored load is located as the log grade matched with the currently monitored load.
9. The apparatus according to claim 6, wherein the control unit further maintains the log output level when it is checked that the currently monitored load does not satisfy the log output level switching condition, continues to allow the software to generate and output logs having a log level greater than or equal to the log output level during execution, and continues to suppress the software from generating and outputting logs having a log level less than the log output level during execution.
10. The apparatus of claim 6,
the control unit monitors the load of the software system in the software running process in a timing or periodic mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810632284.4A CN108897663B (en) | 2018-06-19 | 2018-06-19 | Log output control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810632284.4A CN108897663B (en) | 2018-06-19 | 2018-06-19 | Log output control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108897663A CN108897663A (en) | 2018-11-27 |
CN108897663B true CN108897663B (en) | 2022-08-26 |
Family
ID=64345454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810632284.4A Active CN108897663B (en) | 2018-06-19 | 2018-06-19 | Log output control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108897663B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656784A (en) * | 2018-12-25 | 2019-04-19 | 新华三技术有限公司 | A kind of log processing method and device |
CN113010366B (en) * | 2019-12-20 | 2024-05-24 | 阿里巴巴集团控股有限公司 | Log output method, device and equipment |
CN111459755B (en) * | 2020-03-27 | 2023-05-05 | 海信视像科技股份有限公司 | Log file output control method and device based on EMMC life value |
CN112100043A (en) * | 2020-08-28 | 2020-12-18 | 珠海格力电器股份有限公司 | Method and device for adjusting log level of equipment, storage medium and electronic device |
CN111966643B (en) * | 2020-09-18 | 2023-05-05 | 成都精灵云科技有限公司 | System and method for dynamically adjusting log grade according to log resource |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101464908A (en) * | 2009-01-14 | 2009-06-24 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Log recording method and device |
JP2013045313A (en) * | 2011-08-25 | 2013-03-04 | Hitachi Ltd | Log collection management device, system, and method |
CN103838659A (en) * | 2014-02-17 | 2014-06-04 | 大唐移动通信设备有限公司 | Method and device for controlling system logs |
CN105871574A (en) * | 2015-01-21 | 2016-08-17 | 中国移动通信集团浙江有限公司 | Method, device and system for monitoring log based on software development kit |
WO2017217305A1 (en) * | 2016-06-13 | 2017-12-21 | 日本電気株式会社 | Log output control device, log analysis system, log output control method, log analysis method, and recording medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI380168B (en) * | 2005-12-26 | 2012-12-21 | Ibm | System, method, program, and system implementation method for transaction process logging |
CN101859270A (en) * | 2010-04-19 | 2010-10-13 | 上海华为技术有限公司 | Blog management method, system, master control board and local single-board |
CN102831047A (en) * | 2011-06-16 | 2012-12-19 | 上海聚力传媒技术有限公司 | Method, device and equipment for dynamically regulating log information output of monitoring object |
CN104022903A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | One-stop automatic operation and maintaining system |
CN105426453A (en) * | 2015-11-10 | 2016-03-23 | 国云科技股份有限公司 | Method for controlling log output grade through configuration item |
CN106549807A (en) * | 2016-10-28 | 2017-03-29 | 武汉斗鱼网络科技有限公司 | A kind of classification report method of daily record and system |
CN106775885B (en) * | 2016-12-26 | 2020-09-29 | 中国建设银行股份有限公司 | Log output control method and system and bank management system |
CN107368403A (en) * | 2017-07-10 | 2017-11-21 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and its log information output control method and storage medium |
-
2018
- 2018-06-19 CN CN201810632284.4A patent/CN108897663B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101464908A (en) * | 2009-01-14 | 2009-06-24 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Log recording method and device |
JP2013045313A (en) * | 2011-08-25 | 2013-03-04 | Hitachi Ltd | Log collection management device, system, and method |
CN103838659A (en) * | 2014-02-17 | 2014-06-04 | 大唐移动通信设备有限公司 | Method and device for controlling system logs |
CN105871574A (en) * | 2015-01-21 | 2016-08-17 | 中国移动通信集团浙江有限公司 | Method, device and system for monitoring log based on software development kit |
WO2017217305A1 (en) * | 2016-06-13 | 2017-12-21 | 日本電気株式会社 | Log output control device, log analysis system, log output control method, log analysis method, and recording medium |
Non-Patent Citations (1)
Title |
---|
网络设备运行日志集中管理经验介绍;李传勇等;《金融科技时代》;20130710;第21卷(第07期);3 * |
Also Published As
Publication number | Publication date |
---|---|
CN108897663A (en) | 2018-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108897663B (en) | Log output control method and device | |
US10664385B1 (en) | Debugging in an actor-based system | |
CN107770088B (en) | Flow control method and device | |
KR20190096391A (en) | Database status determination method and device, and consistency verification method and device | |
KR100600929B1 (en) | Computer chip heat responsive method and apparatus | |
US10635516B2 (en) | Intelligent logging | |
CN111459724A (en) | Node switching method, device, equipment and computer readable storage medium | |
CN109002348B (en) | Load balancing method and device in virtualization system | |
CN114609995A (en) | Fault control method, device, system, equipment, medium and product | |
CN107357717B (en) | Method, device and equipment for detecting configuration errors | |
CN111338803B (en) | Thread processing method and device | |
CN112559565A (en) | Abnormity detection method, system and device | |
CN108880854B (en) | Service degradation method, device and equipment | |
CN110688320A (en) | Global variable detection method and device and terminal equipment | |
CN110908824A (en) | Fault identification method, device and equipment | |
CN114168389A (en) | Method and device for recovering CAD file, storage medium and processor | |
JP2015099517A (en) | Vehicle control device | |
CN114428744A (en) | Application program starting time monitoring method, monitoring server and system | |
CN110990052B (en) | Configuration preservation method and device | |
CN110764690B (en) | Distributed storage system and leader node election method and device thereof | |
CN112612804A (en) | Service management parameter updating method and device | |
CN106452807B (en) | Network processor and method for acquiring message processing data | |
CN107632881B (en) | State switching method and device of virtual processor | |
CN113504920A (en) | Storage service upgrading method and device | |
CN116743550B (en) | Processing method of fault storage nodes of distributed storage cluster |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |