Techniques for adaptive trace logging
Abstract
Techniques for adaptive trace logging include, in one embodiment, obtaining input data on trace logging behavior and computing resources used by trace logging. Based on the obtained input data, an adaptive trace logging module automatically takes action at runtime to reduce the amount of computing resources consumed by tracing logging. For example, the action taken may include decreasing a trace logging level of an executing software program to reduce the number of trace logging messages added to a trace log. In another embodiment, the techniques include detecting a condition of an executing software program that warrants a change to a trace logging level of the executing program. The adaptive trace logging module automatically changes the trace logging level of the executing program as-needed for the detected condition. For example, the adaptive trace logging module may increase the trace logging level of an executing program upon detecting a deadlock or other abnormal condition of the executing program. By automatically increasing the trace logging level upon detecting an abnormal condition, additional trace logging messages may be written to a trace log aiding diagnosis and trou
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for adaptive trace logging, comprising: generating, by execution of a software program, data that indicates an amount of computing resources consumed by trace logging and identifies at least one of the following: a number of trace logging messages added to a trace log in a period of time, an amount of storage space available on a non-volatile computer-readable storage medium that stores a trace log, execution time of a trace logging operation that writes a trace logging message to a trace log, and a size of a trace log; comparing, during execution of the software program, said data th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗