Dynamic trace level control
First Claim
1. A computer system for adjusting a filtering mechanism within a trace logging system, the computer system comprising:
- one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more tangible storage media for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising;
receiving a plurality of messages from a software program, wherein each of the plurality of messages includes a message logging level;
storing the plurality of received messages in a buffer;
storing a set of the plurality of received messages in a trace log within a database based on the message logging level associated with each of the plurality of received messages;
determining that an error has occurred within the software program;
identifying a plurality of the stored messages in the buffer that aid in debugging the determined error;
comparing the plurality of identified messages in the buffer that aid in debugging the determined error with the stored set of the plurality of received messages in the trace log;
determining that less than all of the plurality of identified messages in the buffer are stored within the trace log based on the comparing the plurality of identified messages in the buffer with the stored set of the plurality of received messages in the trace log;
updating an alert status configuration based on the message logging level associated with each of the plurality of identified messages in the buffer;
receiving a plurality of subsequent messages from the software program, wherein each of the plurality of subsequent messages includes a message logging level; and
recording a set of the plurality of received subsequent messages in the trace log by comparing a sum of the updated alert status configuration and a trace configuration level to the message logging level of each of the plurality of received subsequent messages.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for adjusting a filtering mechanism within a trace logging system. The method may include receiving a plurality of messages from a software program, whereby each of the plurality of messages includes a message logging level. The method may also include storing the plurality of received messages in a buffer. The method may further include determining an error has occurred within the software program. The method may also include identifying each of the plurality of stored messages that aid in debugging the determined error. The method may further include updating an alert status configuration based on the message logging level associated with each of the plurality of identified messages.
-
Citations
10 Claims
-
1. A computer system for adjusting a filtering mechanism within a trace logging system, the computer system comprising:
-
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more tangible storage media for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising; receiving a plurality of messages from a software program, wherein each of the plurality of messages includes a message logging level; storing the plurality of received messages in a buffer; storing a set of the plurality of received messages in a trace log within a database based on the message logging level associated with each of the plurality of received messages; determining that an error has occurred within the software program; identifying a plurality of the stored messages in the buffer that aid in debugging the determined error; comparing the plurality of identified messages in the buffer that aid in debugging the determined error with the stored set of the plurality of received messages in the trace log; determining that less than all of the plurality of identified messages in the buffer are stored within the trace log based on the comparing the plurality of identified messages in the buffer with the stored set of the plurality of received messages in the trace log; updating an alert status configuration based on the message logging level associated with each of the plurality of identified messages in the buffer; receiving a plurality of subsequent messages from the software program, wherein each of the plurality of subsequent messages includes a message logging level; and recording a set of the plurality of received subsequent messages in the trace log by comparing a sum of the updated alert status configuration and a trace configuration level to the message logging level of each of the plurality of received subsequent messages. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product for adjusting a filtering mechanism within a trace logging system, the computer program product comprising:
-
one or more computer-readable tangible storage media and program instructions stored on at least one of the one or more tangible storage media, the program instructions executable by a processor, the program instructions comprising; program instructions to receive a plurality of messages from a software program, wherein each of the plurality of messages includes a message logging level; program instructions to store the plurality of received messages in a buffer; program instructions to store a set of the plurality of received messages in a trace log within a database based on the message logging level associated with each of the plurality of received messages; program instructions to determine an error has occurred within the software program; program instructions to identify a plurality of the stored messages in the buffer that aid in debugging the determined error; program instructions to compare the plurality of identified messages in the buffer that aid in debugging the determined error with the stored set of the plurality of received messages in the trace log; program instructions to determine that less than all of the plurality of identified messages in the buffer are stored within the trace log based on the comparing the plurality of identified messages in the buffer with the stored set of the plurality of received messages in the trace log; program instructions to update an alert status configuration based on the message logging level associated with each of the plurality of identified messages in the buffer; program instructions to receive a plurality of subsequent messages from the software program, wherein each of the plurality of subsequent messages includes a message logging level; and program instructions to record a set of the plurality of received subsequent messages in the trace log by comparing a sum of the updated alert status configuration and a trace configuration level to the message logging level of each of the plurality of received subsequent messages. - View Dependent Claims (7, 8, 9, 10)
-
Specification