EVENT TRACE CONDITIONAL LOGGING
First Claim
1. A computer program product comprising one or more computer-readable media having thereon computer-executable instructions that, when executed by one or more processors of a computing system cause the computing system to perform a method for conditionally logging trace events, the method comprising:
- an act of using configuration data that specifies one or more log conditions under which trace events are to be persisted to a log;
an act of determining if the one or more log conditions are satisfied;
if the one or more log conditions are satisfied, an act of logging to the log at least some of a plurality of trace events that were generated in the course of processing a request; and
if the one or more log conditions are not satisfied, an act of discarding the at least some of the plurality of trace events that were generated in the course of processing the request.
2 Assignments
0 Petitions
Accused Products
Abstract
Use of configuration information to specify particular conditions under which trace events are to be logged. When accessing trace events generated by various modules, configuration data is referred to specifying condition(s) under which the trace events should be logged. If the log condition(s) are satisfied, the trace events are logged. Otherwise, they may be discarded. Thus, the number of trace events in the log may be significantly reduced to those trace events that satisfy conditions of interest to an evaluator.
181 Citations
20 Claims
-
1. A computer program product comprising one or more computer-readable media having thereon computer-executable instructions that, when executed by one or more processors of a computing system cause the computing system to perform a method for conditionally logging trace events, the method comprising:
-
an act of using configuration data that specifies one or more log conditions under which trace events are to be persisted to a log;
an act of determining if the one or more log conditions are satisfied;
if the one or more log conditions are satisfied, an act of logging to the log at least some of a plurality of trace events that were generated in the course of processing a request; and
if the one or more log conditions are not satisfied, an act of discarding the at least some of the plurality of trace events that were generated in the course of processing the request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method for conditionally logging trace events, the method comprising:
-
an act of identifying characteristics of trace events that are to be buffered;
an act of buffering a plurality of trace events generated as a result of processing of a request and that meet the identified characteristics;
an act of determining whether the plurality of trace events should be logged;
if it is determined that the plurality of trace events are to be logged, an act of logging the plurality of trace events. - View Dependent Claims (18)
-
-
19. One or more computer-readable media having thereon a data structure, the data structure comprising:
-
computer-executable instruction for identifying a category of trace events to be buffered;
computer-executable instructions for buffering any trace events that were generated as a result of processing of a request and that are within the identified category of trace events to be buffered;
a data field representing one or more conditions for logging at least some of the buffered trace events that were generated as a result of processing the request; and
computer-executable instructions configured to log the at least some of the buffered trace events if the one or more conditions are met. - View Dependent Claims (20)
-
Specification