Dynamic trace level control
First Claim
1. A processor-implemented method for adjusting a filtering mechanism within a trace logging system, the method comprising:
- receiving, by a processor, 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
5 Claims
-
1. A processor-implemented method for adjusting a filtering mechanism within a trace logging system, the method comprising:
-
receiving, by a processor, 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)
-
Specification