Log generation method and device, computer equipment and storage medium
The embodiment of the invention discloses a log generation method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining a log file generated by executing atarget business, and enabling the log file to comprise at least one business log; identifying whethe...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a log generation method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining a log file generated by executing atarget business, and enabling the log file to comprise at least one business log; identifying whether the log file comprises a preset target service log or not; and if the log file comprises the target service log, uploading the log file, otherwise, clearing the log file. Whether the log file is uploaded or not is determined by taking whether the log file contains the target service log or not asan uploading condition; only the log file containing the specified log can be uploaded and stored; other logs are cleared in time and are not stored any more, so that the throughput is improved, batch submission and batch processing are realized, the influence on user service processing is very small, and meanwhile, the logs are selectively controlled by utilizing uploading conditions, so that the log quantity can be grea |
---|