Request based logging
AssigneeOracle International Corporation
InventorsParthiban Thilagar, Richard J. Anderson, Jr., William A. Wright, Joseph E. Errede, Patrick H. Fry, Raymond L. Pfau, Michael J. Skarpelos, Shu Ling
Life of this patent
Estimating the term…
Abstract
Systems, methods, and other embodiments associated with event logging are described. One example method includes collecting request-based event log data associated with processing a request and temporarily storing the event log data in a memory. In the event of an error, the event log data is transferred to a storage device.
Claims18
A computer-implemented method, comprising:
- in response to processing a data request with a computer:
- collecting, by at least a processor, first event log data associated with processing the data request in accordance with a pre-defined event verbosity level;
- and
- collecting, by at least the processor, second data that is request-based event log data associated with processing the request second data occurs simultaneously, and wherein collecting the second data includes automatically collecting the second data without regard to the pre-defined event verbosity level;
- determining, by at least the processor, if the request produces an error;
- if the request produces an error:
- reformatting and transferring, by at least the processor, the first event log data and the request-based event log data to a storage device;
- and
- if the request did not produce an error:
- discarding, by at least the processor, the request-based event log data, and reformatting and transferring the first event log data to the storage device, wherein the request-based event log data associated with processing the request are stored in the storage device as a sequential group, and wherein event log data from different requests are not interleaved with each other.
A computer-implemented method, comprising:
- in response to processing a data request with a computer:
- collecting, by at least a processor, first event log data associated with processing the data request in accordance with a pre-defined event verbosity level;
- collecting, by at least the processor, second data that is request-based event log data associated with processing the request, wherein collecting the second data includes automatically collecting the second data without regard to the pre-defined event verbosity level;
- and
- generating and storing a start message indicator into an event log to designate a beginning of the request-based event log data for the request;
- determining, by at least the processor, if the request produces an error;
- if the request produces an error:
- reformatting and transferring, by at least the processor, the first event log data and the request-based event log data to a storage device;
- if the request did not produce an error:
- discarding, by at least the processor, the request-based event log data, and reformatting and transferring the first event log data to the storage device;
- and
- generating and storing an end message indicator into the event log to designate an end of the request-based event log data for the request.
A computing system, comprising:
- at least one processor for at least processing data requests;
- at least one memory;
- an event logger for collecting event log data associated with processing the data requests, and storing the event log data in the at least one memory;
- where the event logger is controlled to collect the event log data in accordance with a pre-defined verbosity level;
- and
- where the event logger is controlled to collect additional event log data associated with data requests in addition to the pre-defined verbosity level;
- where for a selected data request that is processed, the event logger is configured to:
- reformat the collected event log data and the collected additional event log data into a user-readable format and insert start-end indicators, if the request produced an error;
- and
- delete the additional event log data associated with the request, and reformat the collected event log data into the user-readable format if the request did not produce an error.
A non-transitory computer-readable medium storing computer-executable instructions that when executed by a computer cause the computer to perform a method, the method comprising:
- monitoring, using at least a processor, network communications for a request;
- upon detecting the request by at least the processor, initiating
- collection of event log data associated with processing the request and temporarily storing the event log data in a memory, wherein initiating collection of the event log data includes controlling an event logger to collect the event log data in addition to collecting a second set of event data in accordance with a pre-defined logging verbosity level, and wherein the event logger is controlled to collect the event log data automatically without regard to the pre-defined logging verbosity level;
- ceasing, by at least the processor, the collection of the event log data and second set of event data when the processing of the request ends;
- and
- transferring, by at least the processor, the event log data from the memory to a storage device if an error occurred while processing of the request or discarding the event log data from the memory if an error did not occur while processing the request.
Dependencies are inferred from the claim text.