Log processing method and system, electronic device and storage medium

The invention relates to a log processing method and system, an electronic device and a storage medium, and the log processing method comprises the steps: starting at least one process, and executing a task of obtaining an event of each drive module in each process, the process carrying a process ID...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YAO JIE, JIANG LIYING, SHI JIANGLIN, WANG FANGPING, QIU HUAIYU, HUANG NIUSHU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a log processing method and system, an electronic device and a storage medium, and the log processing method comprises the steps: starting at least one process, and executing a task of obtaining an event of each drive module in each process, the process carrying a process ID and a process name; generating log content according to the event, wherein the log content comprises at least one of an event source, an event group class, event description and event time; and outputting the log content to the log file at the corresponding position according to the preset directory, and allocating the file name corresponding to the log content according to the process ID and the process name, so that the problem of log confusion of a collector and a driving module in related technologies is solved, and the development time cost is reduced. 本申请涉及一种日志处理方法、系统、电子装置和存储介质,其中,该日志处理方法通过启动至少一个进程,并在各所述进程中执行获取各驱动模块的事件的任务,其中,所述进程携带有进程ID和进程名;根据所述事件生成日志内容,其中,所述日志内容包括以下至少之一:事件源、事件群类、事件描述、事件时间;根据预设目录,将所述日志内容输出至相