Patent ID: 8561025

Claim:
A computer-implemented method for generating log statements comprising: identifying, by a computer, an applicable filter-set comprising at least one user defined flow and at least one module for debugging corresponding to the at least one user defined flow; tagging an incoming message flow with information of the applicable filter set; detecting the at least one module for debugging corresponding to the at least one user defined flow based on the tagging; and storing log statements for the at least one module for debugging, comprising, for a severity level specified by a user, creating a filter record for the at least one module corresponding to the at least one user defined flow; and for the severity level specified by the user, creating the filter record for the at least one module corresponding to the at least one user defined flow, wherein a bit in the filter record is set for the at least one user defined flow; creating, prior to identifying, an applicable filter-set comprising the at least one user defined flow, wherein a bit is set in the applicable filter-set for the at least one user defined flow; comparing the applicable filter-set tagged with the incoming message flow with the filter record to check if at least one bit is set in the applicable filter-set and in the filter record at a same bit position; and generating a log statement if the at least one bit is set in the applicable filter-set and in the filter record at the same bit position.