Method and device for changing log levels
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ULTRAPOWER SOFTWARE
- Publication Date
- 2016-08-10
- Estimated Expiration
- Not applicable Β· inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of computer technology, in particular to a method and device for modifying log levels. Background technique
[0002] In today's emphasis on the development of reusable components, in addition to developing a reusable log operation class from beginning to end, Apache provides us with a powerful java log framework Log4j.
[0003] Log4j is a Java-based open source log component. Log4j is very powerful. We can output log information to the console, file, user interface, or to the event recorder of the operating system and some system resident processes. Through Log4j, it is very convenient to customize the log format and log level, which can help developers to control the log information in all directions. Generally, when a problem occurs in a Java system and the system log needs to be searched, the operation and maintenance personnel usually adjust the log4j log level to debug to obtain more log information.
[0004] T...