The invention discloses a link training state
machine log management method and device, equipment and a storage medium, and relates to the technical field of computers. According to the method, the log capturing
modes are set in the
solid state disk and comprise the analyzer log obtaining mode and the
software tool log obtaining mode, and if the
solid state disk supports the analyzer log obtaining mode, a link training state
machine does not need to be adopted to occupy a large number of storage and computing resources to achieve log capturing; when the log capturing cannot be carried out by adopting an analyzer to obtain the log mode of the
solid state disk, switching to a
software tool to obtain the log mode to realize state
machine log capturing, analyzing the captured state machine log, and uploading the analyzed state machine log entry information to a host side; logs of all states of the link training state machine can be comprehensively obtained, and occupation of processor resources in the
solid state disk is reduced as much as possible.