Log data processing method and device, storage medium and electronic terminal
The invention relates to the technical field of computers, in particular to a log data processing method and device, a storage medium and an electronic terminal. The method is executed by a log server, and comprises the following steps: counting target attribute values of log files; under the condit...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
14.04.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to the technical field of computers, in particular to a log data processing method and device, a storage medium and an electronic terminal. The method is executed by a log server, and comprises the following steps: counting target attribute values of log files; under the condition that the target attribute value of the target log file reaches a preset rolling threshold value, an intermediate file is generated according to the target log file, so that log data in the intermediate file can be collected by a log collection component; and compressing the intermediate file meeting the compression condition to obtain log data in a compressed format for persistent storage. According to the method disclosed by the invention, compression processing can be carried out only after a period of time of generation of the intermediate file, and a certain neutral period is reserved, so that sufficient time can be reserved for collection of log data, and the condition that the log data in the finally gene |
---|---|
Bibliography: | Application Number: CN202111187994 |