Log recording method and log recording system

A log and application system technology, which is applied in the field of log records and log records, can solve the problems of restricting the business processing throughput of the application system, the great impact of business processing efficiency, and the performance bottleneck of the application system, so as to eliminate performance bottlenecks and improve Throughput, the effect of reducing resource consumption

Active Publication Date: 2013-06-26
ADVANCED NEW TECH CO LTD
View PDF6 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be understood that log records require disk operations and file read and write operations, while application system business processing is performed in memory, because disk operations are slower than memory operations, and the performance of using disks is lower than that of using memory (usually memory read Writing is more than 10 times faster than disk reading and writing), so logging is slower than business processing
However, in the application system, the amount of bu

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

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0051] In order to make the above objectives, features and advantages of the application more obvious and understandable, the application will be further described in detail below in conjunction with the drawings and specific implementations.

[0052] Reference figure 1 , Shows a step flowchart of Embodiment 1 of a log recording method of the present application, which specifically may include the following steps:

[0053] Step 101: Generate a log;

[0054] When the business processing module of the application system needs to record logs, for example, when a page access request or service call request arrives, a corresponding log is generated.

[0055] In practice, the log can record all the behaviors generated by the system and express it in accordance with a certain standard. We can use the information recorded by the log system to troubleshoot the system, optimize the performance of the system, or adjust the behavior of the system based on this information. In the security field,...

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 provides a log recording method and a log recording system. The log recording method includes the steps of generating a log, detecting a current loading state of an application system, enabling the log to be written into a preset cache if the current loading state reaches a first preset threshold value, and enabling the log in the cache to be written into a local hard disk of the application system when the loading state of the application system meets a preset condition. Therefore, the log recording method and the log recording system can eliminate performance bottleneck caused by log recording in the application system, save resources of a server, and improve handling capacity of service processing of the application system.

Description

technical field [0001] The present application relates to the technical field of system log processing, in particular to a log recording method and a log recording system. Background technique [0002] In an application system, the log is a very important functional component. At present, the application system generally uses the disk log as an incidental function of the application system. Logs can be used to record all behaviors generated by the application system, including business operation behaviors and the behavior of the system framework itself, and express them according to certain specifications. With these records, relevant technical personnel can perform system-level or business-level troubleshooting, as well as system performance optimization. [0003] A common log recording method is to record the log on the local disk of the application server in real time, and relevant technicians log in to the application server to view the log. It can be understood that l...

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 ADVANCED NEW TECH 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