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

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

CN101464908AInactive Publication Date: 2009-06-24BEIJING NAURA MICROELECTRONICS EQUIP CO LTD

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
24 Jun 2009
Publication
CN101464908A
IPC
G06F17/30; G06F11/34
Inventors
王永贵