Log recording method and device

A technology of logs and log files, applied in special data processing applications, instruments, electrical and digital data processing, etc., can solve the problems of large log storage space, low efficiency, time-consuming and labor-intensive, etc., to reduce storage space, manage flexible, Operational efficiency improvement effect

Inactive Publication Date: 2009-06-24
BEIJING NAURA MICROELECTRONICS EQUIP CO LTD
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Using this existing log record, when the log volume is large, the efficiency of users to query the operation status of one or several functional modules, or to troubleshoot one or several functional modules is relatively low. For example, the user needs to query which services are called by the system within a period of time, and what is the calling order of the services? Which Interlock modules are triggered? What are the alarm modules thrown by the system? What recovery actions are taken by these alarm modules? In the case ...

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 and device
  • Log recording method and device
  • Log recording method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0051] The invention is applicable to numerous general purpose and special purpose computing system environments or configurations. Examples: personal computers, server computers, handheld or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices etc.

[0052] The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract dat...

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 recording logs, which comprises the following steps: current time, module information, log data and logging level for forming log records are obtained; and then, when the logging level meets the predetermined level conditions, the log records are written into a log file. The invention ensures that the efficiency for inquiring log by a user is improved on the basis of ensuring log recording efficiency, and the storage space occupied by blogs can be saved.

Description

technical field [0001] The invention relates to the technical field of software systems, in particular to a log recording method and a log recording device. Background technique [0002] The log (log) is used to store and record detailed information on system operation and user usage, which is the main basis for viewing system operation status and troubleshooting problems. For example, if an application crashes in a certain software, we can find the corresponding records from the program event log to help us analyze and solve the problem. [0003] Since the system usually includes several modules corresponding to a certain type of function, in a system log file, each log record will contain the information of its corresponding functional module; The degree of concern divides the content recorded in the log into several levels, so each log record will also contain the corresponding level information, plus the recorded time and recorded content, to form a complete log record,...

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): G06F17/30G06F11/34
Inventor 王永贵
Owner BEIJING NAURA MICROELECTRONICS EQUIP 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