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

Method and device for dynamically configuring logs

A dynamic configuration and log technology, applied in software maintenance/management, program files, etc., can solve problems such as inconsistent device code status and increased difficulty in device management

Pending Publication Date: 2019-07-12
SICHUAN HONGMEI INTELLIGENT TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, the device needs to open different levels of logs according to the different usage requirements of the managers, which will make the code status of the device inconsistent, thus increasing the difficulty of device management

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 and device for dynamically configuring logs
  • Method and device for dynamically configuring logs
  • Method and device for dynamically configuring logs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054]In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0055] Such as figure 1 As shown, the embodiment of the present invention provides a method for dynamically configuring logs, including:

[0056] Step 101: When receiving an externally input log output command, call the preset first interface to determine the current log level corresponding to the log and the first log level corresponding to the log out...

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 provides a method and a device for dynamically configuring logs. The method comprises: when an externally input log output command is received, calling a preset first interface, determining the current log level corresponding to a log and the first log level corresponding to the log output command, and when the first log level is not higher than the current log level, outputting loginformation corresponding to the log output command; when a log level modification command input by the outside through a preset second interface is received, determining whether the log level modification command is legal or not, when it is determined that the log level modification command is legal, modifying the current log level corresponding to the log into the second log level in the log level modification command, and outputting response information. According to the scheme, the equipment management difficulty can be reduced.

Description

technical field [0001] The invention relates to the technical field of audit management, in particular to a method and device for dynamically configuring logs. Background technique [0002] The log information of the device can help managers analyze and solve problems during the development and verification of the device, and is a crucial part of the device. [0003] At present, in the development stage of the device, it is necessary to add important log information to the code, so that the problem can be traced according to the log information in the debugging stage, and in the device testing stage, function verification and problem location can be performed based on the log. [0004] However, for the safety considerations of the device (for example, wifi module), the manufacturer will set different log levels for different log information of the officially mass-produced devices, and the codes corresponding to different log levels are also different. In this case, the devi...

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): G06F8/73
CPCG06F8/73
Inventor 王思黄斌袁龙刚张江鹏
Owner SICHUAN HONGMEI INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products