Patent ID: 11907102
Assignee: DELL PRODUCTS L.P.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for dynamically producing a debug log, comprising:
detect initiation of an operation, wherein the operation is a backup operation;
produce a debug log for a predetermined portion of the operation,
wherein operation is divided into a plurality of portions,
wherein the each of the plurality of portions is identified using one of a plurality of checkpoints in code for the operation, and
wherein the predetermined portion is one of the plurality of portions;

store the debug log for the predetermined portion in a dynamic logger cache, wherein:
if the operation fails during the predetermined portion, write the debug log stored in the dynamic logger cache to a debug log file in persistent storage; or
if the operation does not fail during the predetermined portion, delete the debug log in the dynamic logger cache according to a predefined procedure,
wherein the predetermined portion is identified using a first checkpoint of the plurality of checkpoints,
wherein the predefined procedure specifies deleting the debug log when a second checkpoint of the plurality of checkpoints is reached, and
wherein the second checkpoint is reached after the first checkpoint; and

repeat the producing and storing of the debug log for each portion of the operation until either the operation ends or a portion of the operation fails.