Leveled logging data automation for virtual tape server applications
AssigneeInternational Business Machines Corporation
InventorsGary Anna, Ralph Thomas Beeston, Henry Z. Liu, Daniel James Winarski
Life of this patent
Estimating the term…
Abstract
A method, system, and program product for a VTS subsystem's logging server to optimize applications' logging data entries where applications use the logging service. More specifically, in certain embodiments, the system comprises logic executed within a VTS subsystem to which a tape library subsystem is attached. The logic controls VTS subsystem applications' logging data entry strategy through applications' configured logging level, log entry category, and a cache buffer. The logic not only dynamically balances applications' logging request but also maximizes the availability of system information.
Claims15
A computer-implementable method for logging data in a virtual storage system, said method comprising:
- receiving a logging data string;
- checking a logging level, the checking comprising:
- if said logging level is satisfied, sending said data string to a log file buffer;
- if said logging level is not satisfied, checking a buffer priority;
- and
- if said buffer priority exceeds a predefined threshold, abandoning said data string;
- and wherein
- the log file buffer comprises an Error-Data-Cache-Buffer (EDCB) element;
- and further comprising
- automatically collecting important error logging data which is not at the current planned logging level, and
- temporarily saving the important error logging data in the EDCB element of the log file buffer.
A system comprising:
- a processor;
- a data bus coupled to the processor;
- and
- a computer-usable medium embodying computer program code, the computer-usable medium being coupled to the data bus, the computer program code comprising instructions executable by the processor and configured for:
- receiving a logging data string;
- checking a logging level, the checking comprising:
- if said logging level is satisfied, sending said data string to a log file buffer;
- if said logging level is not satisfied, checking a buffer priority;
- and
- if said buffer priority exceeds a predefined threshold, abandoning said data string;
- and wherein
- the log file buffer comprises an Error-Data-Cache-Buffer (EDCB) element;
- and further comprising
- automatically collecting important error logging data which is not at the current planned logging level, and
- temporarily saving the important error logging data in the EDCB element of the log file buffer.
A non-transitory computer-readable storage medium storing program code, the computer program code comprising computer executable instructions configured for:
- receiving a logging data string;
- checking a logging level, the checking comprising:
- if said logging level is satisfied, sending said data string to a log file buffer;
- if said logging level is not satisfied, checking a buffer priority;
- and
- if said buffer priority exceeds a predefined threshold, abandoning said data string;
- and wherein
- the log file buffer comprises an Error-Data-Cache-Buffer (EDCB) element;
- and further comprising
- the embodied computer program code further comprises computer executable instructions configured for:
- automatically collecting important error logging data which is not at the current planned logging level, and
- temporarily saving the important error logging data in the EDCB element of the log file buffer.
Dependencies are inferred from the claim text.