Method and device for outputting storage process log

A process and log technology, applied in the direction of instruments, electrical digital data processing, hardware monitoring, etc., can solve the problems of untimely discovery, low efficiency of positioning problems, and unintuitive log content, etc., to improve efficiency, improve efficiency, and improve readability sexual effect

Pending Publication Date: 2020-10-30
南京行而知网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is to provide a method and device for outputting and storing pro

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 outputting storage process log
  • Method and device for outputting storage process log
  • Method and device for outputting storage process log

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0037] like figure 1 As shown, the present invention provides a method for outputting and storing process logs, comprising the following steps:

[0038] Step 1: When the process starts, the process information is written into the buffer area, and other logs are normally output to the log file;

[0039] Step 2: When the process ends, obtain the process information from the cache area and output it to the process log file according to the error level;

[0040] Step 3: The scheduled task periodically obtains the process log and other corresponding logs from the process log file, and compresses the log file;

[0041] Step 4: Regularly send the compressed log file to the maintenance personnel by email;

[0042] Step 5: The maintenance personnel check the process log. If the problem cannot be directly checked, the process log can be parsed through the tool and associated with the detailed log file.

[0043] like figure 2 As shown, the process log is a catalog of business execut...

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 device for outputting a storage process log, and the method comprises the following steps: 1, writing process information into a cache region when a process starts, and enabling other logs to be normally output to a log file; 2, when the process is finished, obtaining process information from a cache region, and outputting the process information to a process log file according to an error level; 3, periodically obtaining the process log and other corresponding logs from the process log file by the timing task, and compressing the log file; 4, sending the compressed log files to maintenance personnel in a mail mode at regular time; and 5, enabling a maintainer tp check the process log, and if a problem cannot be directly checked, analyzing the process log through a tool and associating the process log to a detailed log file. The problems that in the prior art, problems are not found in time, log content is not visual, and problem positioning efficiency is low are solved.

Description

technical field [0001] The invention relates to the technical field of Internet application systems, in particular to a method and device for outputting and storing process logs. Background technique [0002] With the continuous development of the Internet industry, various enterprises, companies, government agencies and schools are undergoing the transformation of Internet informatization. During the operation of these information systems, some unexpected special situations often occur, and some problems appear occasionally. In many cases, these problems have not been discovered after they have occurred, or they have been discovered after a long time. It takes a lot of energy to find, locate and solve these problems. [0003] At present, many systems running online rely on user feedback to find problems, while more problems without feedback are buried. When a problem occurs, many problems need to be analyzed through log files. When the system has a large number of users a...

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): G06F11/30
CPCG06F11/3068
Inventor 杜鹏程
Owner 南京行而知网络科技有限公司
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