Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and storage medium for modifying log level

A level and log technology, applied in the computer field, can solve the problems of reducing the efficiency of modifying the log level and the cumbersome process of modifying the log level, etc., and achieve the effect of improving efficiency

Active Publication Date: 2018-11-27
TENCENT MUSIC & ENTERTAINMENT SHENZHEN CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above method of modifying the log level, the application program must only modify the log level when receiving the http request sent by the web browser, so that before modifying the log level of the application program, the application program and the web browser must first be established. The network connection between them makes the process of modifying the log level more cumbersome and reduces the efficiency of modifying the log level

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and storage medium for modifying log level
  • Method, device and storage medium for modifying log level
  • Method, device and storage medium for modifying log level

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0049] Before explaining the embodiments of the present invention in detail, an application scenario of the embodiments of the present invention is introduced. For any application installed on the operating system, during the running of the application, the application will generate log information to record the running state of the application. Since different log information has different degrees of importance, for each piece of log information, a corresponding level is set for each piece of log information according to the degree of importance of the log information.

[0050] For example, the currently set log information levels mainly include TRACE, DEBUG, INFO, ERROR, FATAL, etc. The latter level is higher than the former in every two ad...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method, device and storage medium for modifying a log level, and belongs to the technical field of computers. The method comprises the following steps: a signal processing function is registered in a first application program, when the first application program receives a target signal value sent by a command line tool, the target log level corresponding to the target signal value can be determined directly through the signal processing function, and the current log level can be modified to the target log level. Because the command line tool is a tool on the operatingsystem per se, therefore, by using the method, a user can implement the modification of the log level of the first application program by only using the operating system, which avoids the need of using a web browser to modify the log level of the first application program, and the efficiency of modifying the log level is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a method, device and storage medium for modifying log levels. Background technique [0002] Each log information generated by an application installed on the operating system is set with a corresponding level according to its importance. When the user needs to view the log information of the application, in order to prevent the application from outputting all the log information, set the corresponding level for the application. There is a log level, so that the application only outputs log information whose level is greater than or equal to the log level. Due to different scenarios, different log levels need to be set for applications. Therefore, it is usually necessary to modify the log levels of applications. [0003] In the related art, when a web (web page) browser receives a log level setting instruction, it sends an http (HyperText Transfer Protocol) request...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/30
CPCG06F11/302G06F11/3051G06F11/3072
Inventor 王磊李革委
Owner TENCENT MUSIC & ENTERTAINMENT SHENZHEN CO LTD