Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for adjusting log level, device and equipment and readable medium

A log and level technology, applied in the computer field, can solve problems such as unfavorable monitoring, time-consuming, dependent on running time, etc., and achieve the effect of convenient troubleshooting

Pending Publication Date: 2020-11-20
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, some problems may depend on the running time, or the problem can only be reproduced stably after some operations after running. Once the process is restarted, it may be difficult to reproduce the problem
In the production environment of some customers, restarting the process is not allowed, or requires a complicated application process, which makes it difficult or time-consuming to open the debug
After opening the debug, you need to turn it off after troubleshooting the problem, because if you don’t turn it off, too much information will be printed all the time, which is not conducive to monitoring

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 for adjusting log level, device and equipment and readable medium
  • Method for adjusting log level, device and equipment and readable medium
  • Method for adjusting log level, device and equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0030] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0031] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of a method for adjusting a log level. figure 1 What is shown is a schematic diagram of an embodiment of the method for adjusting ...

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 for adjusting a log level. The method comprises the following steps: judging whether a target part has an REST interface or not; if the target part is provided with the REST interface, sending request information containing the target part and the adjustment mode to the middleware; and obtaining a log level parameter in the target part through the middleware, and setting the log level parameter based on the adjustment mode. The invention further discloses a device for adjusting the log level, computer equipment and a readable storage medium. According to the invention, the middleware is arranged for the assembly with the REST interface, and the assembly without the REST interface is broadcasted; the log level of the part is dynamically modified under the condition of not restarting related processes of the part, when the cloud platform operates abnormally, the part debug function can be dynamically opened, more log information is provided, problem troubleshooting is facilitated, and the method is particularly important under the conditions that part restarting is dangerous, the production environment is poor or restarting is not easy to reappear.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method, device, equipment and readable medium for adjusting log levels. Background technique [0002] Openstack (an open source cloud computing platform management platform project) is a huge project, and the functions of each component are also relatively complicated. When unexpected results occur during the running process, in many cases, it is difficult to determine where the problem is only through a simple error message, and it is not known how to solve or avoid it, and some even have no error message. [0003] When problems arise and you need to troubleshoot and obtain more information about system operation, an effective solution is to enable the debug function of openstack-related components, print more logs, and obtain information to solve problems. However, at present, the log level of each component of openstack is set at startup, and is generally at the info leve...

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/07G06F9/54
CPCG06F11/0766G06F11/079G06F11/0793G06F9/542G06F9/546G06F2209/548Y02D10/00
Inventor 周恒秦海中
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More