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

Method and device for log recording

A log and time-recording technology, which is applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of low efficiency of investigation, time-consuming and labor-intensive, etc., and achieve improved operation efficiency, improved efficiency, and flexible management Effect

Active Publication Date: 2013-01-30
BEIJING QIHOO TECH CO LTD +1
View PDF3 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the content of log records is usually massive. Taking the log records of online systems such as electronic payment systems as an example, one payment transaction often generates multiple log records, and multiple concurrent transactions generate The records are often recorded staggered and cascaded. In this case, if relevant technicians want to query the operation status of one or several functional modules in the system, or troubleshoot a certain error, the efficiency is relatively low. For example, the user needs to query which services are called by the system within a certain period of time, and what is the calling order of the services? Which modules are involved in the error alarm thrown by the system? What recovery actions are taken by these modules? In the case of a large amount of logs, it is obviously a very time-consuming and labor-intensive process to query the above-mentioned information from the complicated information of the system log

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 log recording
  • Method and device for log recording
  • Method and device for log recording

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0041] One of the core ideas of the embodiment of the present invention is that during the log recording process, the log data satisfying the log level condition is written into the corresponding configuration file, and the preset process can scan the configuration file and initiate an exception log At the same time, all log data will be organized according to the characteristic information identification, so as to improve the effic...

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 device for log recording. The method comprises obtaining log data which comprise log levels and characteristic information identifications; writing the log data of corresponding log levels in a configuration file when the preset configuration file corresponding to a certain log level exists; enabling the configuration file to be used for scanning by using a preset progress to conduct unusual log reminding treatment; organizing corresponding log data in the configuration file according to the characteristic information identifications. The method and the device can improve efficiency for locating logs and reporting unusual logs while reducing occupation of log data storage resources.

Description

technical field [0001] The present invention relates to the technical field of file processing, in particular to a log recording method, a log recording device, and a log recording system. Background technique [0002] Network devices, systems and service programs, etc., will generate an event record called a log (log) during operation; each line of log records the description of related operations such as date, time, user and action. Logs are the main basis for viewing system running status and troubleshooting. The log can be used to record the online business operation process and monitor the running program. By analyzing the recorded log, it can provide prompts and warnings for the occurrence and possible errors, and can also count the business identification information to improve the business logic and the application program. Upgrades provide a solid basis. For example, if the application program in a certain software crashes, you can find the corresponding records f...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F11/3476G06F16/1815
Inventor 柴昱
Owner BEIJING QIHOO 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