Log monitoring method

A log and log file technology, applied in the field of log monitoring methods and systems, can solve problems such as low log query efficiency, and achieve the effect of efficient processing

Active Publication Date: 2013-09-25
ULTRAPOWER SOFTWARE
View PDF7 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 2. Log query efficiency is 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
  • Log monitoring method
  • Log monitoring method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0033] like figure 1 As shown, the log monitoring method of the embodiment of the present invention includes:

[0034] Step S101, monitor the changed character strings in the log file in real time, and detect the predefined keywords contained in the changed character strings. Log files usually record information by line, including normal operation information, abnormal information and fault information of the program system. Therefore, in this embodiment, the change of the log file is monitored by line, that is, in the process of recording new information in the log file , to monitor the recorded new information in real time to discover the abnormality or failure of the ...

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 log monitoring method which relates to computer software. The method comprises the following steps: S1, monitoring varying character strings in a log file and detecting predefined keywords contained in the varying character strings; S2, triggering and executing trigger instructions corresponding to the keywords. The invention further discloses a log monitoring system. In the invention, by monitoring variation of the log file in a real time manner, a comparison is made between the varying character strings and the predefined keywords, and a corresponding processing scheme is triggered and executed, so as to achieve the effect of treating abnormal or fault information in a log timely and efficiently.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a log monitoring method and system. Background technique [0002] With the development of software technology, the number of lines of software codes has become very large, and the work of maintaining software has become very complicated and difficult; the most common method of software maintenance is to add business-critical log records in the process of writing code Code; in this way, during the running of the software, the program processing of key business is recorded in the log file. Once the system runs abnormally, it can analyze the log information and make corresponding processing. [0003] The maintenance system through the traditional log method has the following characteristics: [0004] 1. Troubleshooting is not timely [0005] Because usually after the system is abnormal, the user finds a fault when using the system, notifies the administrator, and then ch...

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/34
Inventor 裔江
Owner ULTRAPOWER SOFTWARE
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