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

A method and system for outputting log information

A technology for outputting logs and logs, applied in the computer field, can solve problems such as inability to output Debug information for positioning problems in detail, low work efficiency, difficult positioning, etc., so as to facilitate the positioning of problems, analyze and solve problems, improve work efficiency, and reduce system burdens Effect

Active Publication Date: 2017-03-29
JUHAOKAN TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the smart TV portal system, the log system running on the network elements included in the system usually divides the logs into Error level and Debug level; generally, the log is set at a higher level when the system is officially launched and operated. Level, such as the Error level, but the Error level log can only indicate that an error occurred during the operation of the network element. Considering the efficiency, the Error level log is generally output when an error occurs in the system, and can only output the same as the Error level. Directly related information cannot output the Debug information required to locate the problem in detail. For example, when running a function, three Debug logs may have been generated before the Error log is generated, and then the Error log is generated. When an Error occurs, only the output The information in the Error log may not be enough. Only by outputting the information of the above three Debug logs can the problem be located.
Therefore, when an error occurs in the existing system, when locating the problem and analyzing the cause of the problem, due to the inability to obtain enough information, only the error log can be obtained, which is difficult to locate and the work efficiency is relatively low

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
  • A method and system for outputting log information
  • A method and system for outputting log information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Because in the prior art, when the network element generates a log higher than the Debug level, for example: a log of the Warning level and a log of the Error level, the output log information does not include the Debug generated before the log higher than the Debug level is generated. Level logs can only output a prompt message to indicate that a certain fault has occurred in the network element, such as Warning, Error, etc., and the network element needs to be re-run and debugged to determine the problem of the fault; the present invention is aimed at In the above existing problems, after the log information is generated, the level of the log requested to be output is adjusted by using the relationship between the set level and the level of the log requested to be output, and the function identifier carried by the log, that is, to adjust the level of the log requested to be output The level of the log and the output of log information lower than this level, or output t...

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 and a system for outputting log information. The method is triggered after the log information is generated, and includes receiving a log output request, judging whether the level of a log requested to be output is lower than a set level or not, if not, storing function identifications carried by the log requested to be output in a memory, and outputting the log information in the level of the log requested to be output and lower than the lever within a counting period for counting by preset time. By the aid of the method and the system, information needed by reasons for positioning problems and analyzing problems is output.

Description

technical field [0001] The invention relates to computer technology, in particular to a method and system for outputting log information. Background technique [0002] In the smart TV portal system, the log system running on the network elements included in the system usually divides the logs into Error level and Debug level; generally, the log is set at a higher level when the system is officially launched and operated. Level, such as the Error level, but the Error level log can only indicate that an error occurred during the operation of the network element. Considering the efficiency, the Error level log is generally output when an error occurs in the system, and can only output the same as the Error level. Directly related information cannot output the Debug information required to locate the problem in detail. For example, when running a function, three Debug logs may have been generated before the Error log is generated, and then the Error log is generated. When an Err...

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/34
Inventor 曹西锋于芝涛
Owner JUHAOKAN 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