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

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

Example Embodiment

[0029] In order to clarify the purposes of the present invention, the embodiments of the present invention will be further described in detail below 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 in order to distinguish between two identical names of different entities or non-identical parameters, visible "first" "second" For the convenience of expression, it is not understood to be limited to the embodiment of the present invention, and the subsequent embodiment will not be described herein.

[0031] Based on the above object, a first aspect of the present invention embodiment, a method is proposed embodiment of adjusting the log level. figure 1 Shows a schematic of an embodiment of a method of the present invention to adjust the log level are provided. like figure 1 As shown, the embodiment of the present invention includes the steps of:

[0032] S1, determin...

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
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products