Flow and module level detecting and debugging with inclusion of generated log statements
AssigneeApigee Corporation
InventorsAshutosh Bisht, Abhijit Chaudhary
Life of this patent
Estimating the term…
Abstract
Flow and module level debugging in a system. An applicable filter-set comprising at least one user defined flow and at least one module corresponding to the at least one user defined flow are identified. An incoming message flow is then tagged with information of the applicable filter-set. Further, the at least one module is detected for debugging corresponding to the user defined flow based on the tagged information of the incoming message flow. Log statements are then generated for the at least one module detected for debugging.
Claims11
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.
An information processing system, implemented at least partially in hardware, comprising:
- a filter record creating module to create a filter record for at least one module corresponding to at least one user defined flow for a severity level, wherein a bit in the filter record is set for the at least one user defined flow;
- an applicable filter-set creating module to create an applicable filter-set comprising the least one user defined flow, wherein a bit is set in the applicable filter-set for the at least one user defined flow;
- a tagging module to tag an incoming message flow with information of the applicable filter-set;
- a comparing module to compare 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;
- log generating module to generate log statements if the at least one bit is set in the applicable filter-set and in the filter record at the same bit position, comprising, for a severity level specified by a user, to create a filter record for the at least one module corresponding to the at least one user defined flow;
- 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.
A non-transitory machine-readable medium product comprising instructions operable to cause a programmable processor to perform a method, the method comprising:
- identifying, by a computer, an applicable filter-set comprising at least one user defined flow and at least one module 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 generating log statements for the at least one module detected for debugging corresponding to the at least one user defined flow and the tagged information of the incoming message flow, 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;
- 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.
Dependencies are inferred from the claim text.