Log generation method and device
A technology for generating devices and logs, which is applied in the information field, can solve problems such as insufficient performance, low log generation efficiency, and easy bottlenecks, and achieve the effect of improving generation efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0018] In the embodiment of the present invention, the log generation process is divided into a log data acquisition process and a write process, and a circular queue is used for data communication between the acquisition process and the write process; when a log generation request is received, the log data to be written is obtained log data and buffer the log data into the preset ring queue; in the writing process, read the log data from the ring queue, and write the log data into the memory according to the preset method , to generate a log file. There is no locking mechanism between the log dat...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


