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

Log recording method, device, computer equipment and storage medium

A log and preset time technology, applied in the fields of computer equipment, storage media, devices, and log recording methods, can solve the problem of consuming large resources and achieve the effect of reducing resource consumption

Active Publication Date: 2020-07-31
PING AN TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional log records use the same log record granularity regardless of the state of the functional modules in the server, and the record granularity used in traditional log records is often finer, resulting in the need to consume a lot of resources for a large number of log records

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
  • Log recording method, device, computer equipment and storage medium
  • Log recording method, device, computer equipment and storage medium
  • Log recording method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0026] figure 1 It is a schematic diagram of the internal structure of a computer device in an embodiment, and the computer device may be a server. refer to figure 1 , the computer device includes a processor connected through a system bus, a non-volatile storage medium, an internal memory and a network interface. Wherein, the non-volatile storage medium of the computer device may store an operating system and computer-readable instructions, and when the computer-readable instructions are executed, the processor may execute a logging method. The processor of the computer equipment is used to pro...

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

A method for recording a log comprises: obtaining function identifiers corresponding to function modules running in a server (202); extracting, according to the function identifiers, a historical log record corresponding to each of the function modules (204); performing calculation, according to the historical log record corresponding to each of the function modules, on historical error information corresponding to each of the function modules (206); determining, according to the historical error information, a log level corresponding to each of the function modules, the log level representing the level of detail of a log record (208); and correspondingly recording a log according to the log level corresponding to each of the function modules (210).

Description

technical field [0001] The invention relates to the field of computer processing, in particular to a log recording method, device, computer equipment and storage medium. Background technique [0002] Logging plays an important role in both the program development phase, the running phase, and the testing phase. One of the most important functions is that when an exception occurs, the recorded log can be used to locate the problem. Traditional log records use the same log record granularity regardless of the state of the functional modules in the server, and the record granularity used in traditional log records is often finer, resulting in the need to consume a lot of resources for a large number of log records. Contents of the invention [0003] Based on this, it is necessary to propose a log recording method, device, computer equipment, and storage medium that can save resource consumption to address the above problems. [0004] A log recording method, the method compri...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/30G06F11/34
CPCG06F11/3082G06F11/3476
Inventor 陈杰吴海波姜云鹏凌剑马向东丁杰
Owner PING AN TECH (SHENZHEN) 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