Log file storage method and device, storage medium and electronic device

The embodiment of the invention provides a log file storage method and device, a storage medium and an electronic device.The method comprises the steps that under the condition that a host system of a server is started, host logs generated by the host system are stored in a host log catalog, and the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HAO LINWEI, LIU BAOYANG, CHEN JIN, SUN MING
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 embodiment of the invention provides a log file storage method and device, a storage medium and an electronic device.The method comprises the steps that under the condition that a host system of a server is started, host logs generated by the host system are stored in a host log catalog, and the host log catalog is a designated catalog used for storing the host logs; under the condition that a set of newly added host logs exist in the host log directory, the set of host logs are transmitted to a target operating system through a preset storage component by means of the host system, and the preset storage component is used for transmitting the host logs between the host system and the target operating system. The target operating system is an operating system running on at least one processor core of a baseboard management controller (BMC) chip of the server; and writing the group of host logs into an external storage device through the target operating system, the external storage device being a storage d