US 9,811,443 B2
Dynamic trace level control
Masashi Doi, Yokohama (JP); Kenya Ishimoto, Machida (JP); and Atsushi Naruse, Yamato (JP)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Apr. 29, 2016, as Appl. No. 15/141,914.
Application 15/141,914 is a continuation of application No. 14/966,157, filed on Dec. 11, 2015.
Prior Publication US 2017/0168915 A1, Jun. 15, 2017
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 9/44 (2006.01); G06F 11/36 (2006.01)
CPC G06F 11/3636 (2013.01) [G06F 11/3664 (2013.01)] 5 Claims
OG exemplary drawing
 
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.