IP Library Granted Patent US 8,561,025
Granted Patent B1
US 8,561,025 · App. 12/058,916 · Granted Oct 15, 2013

Flow and module level detecting and debugging with inclusion of generated log statements

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,561,025
App. No.
12/058,916
Granted
Oct 15, 2013
Kind
B1
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.

Claims (42)

1. 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.

2. The method of claim 1 , wherein detecting a module comprises:

checking if the at least one module is marked for debugging.

3. The method of claim 1 further comprising: retrieving information from the filter record corresponding to the at least one module and from the applicable filter-set tagged with the incoming message flow.

4. The method of claim 1 , wherein comparing comprises: performing a bitwise AND operation with the applicable filter-set and the filter record to check if the at least one bit is set in the applicable filter-set and the filter record at the same bit position.

5. The method of claim 1 , wherein creating a filter record for the at least one module corresponding to the at least one user defined flow for a severity level comprises: creating the filter record for the at least one module corresponding to the at least one user defined flow according to a predetermined criterion.

6. 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.

7. The information processing system of claim 6 further comprising:

a retrieving module for retrieving information from the filter record corresponding to the at least one module and the applicable filterset tagged with the incoming message flow.

8. The information processing system of claim 6 , wherein the severity level is defined according to a predetermined criterion.

9. The information processing system of claim 6 , wherein the incoming message flow comprises one or more incoming message packets.

10. 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.

11. The machine-readable medium product of claim 10 , wherein detecting further comprises:

checking if the at least one module is marked for debugging.

Assignments (5)
CHANGE OF NAME Recorded Oct 5, 2017
From: GOOGLE INC.
To: GOOGLE LLC
Reel/Frame 044129/0001 →
CHANGE OF NAME Recorded Feb 13, 2017
From: SONOA NETWORKS (INDIA) PRIVATE LIMITED
To: APIGEE TECHNOLOGIES (INDIA) PRIVATE LIMITED
Reel/Frame 041696/0245 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 12, 2017
From: APIGEE CORPORATION
To: GOOGLE INC.
Reel/Frame 040955/0070 →
CHANGE OF NAME Recorded Aug 20, 2013
From: APIGEE TECHNOLOGIES (INDIA) PRIVATE LIMITED
To: APIGEE CORPORATION
Reel/Frame 031040/0098 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 31, 2008
From: BISHT, ASHUTOSH; CHAUDHARY, ABHIJIT
To: SONOA NETWORKS INDIA (PVT) LTD.
Reel/Frame 020726/0839 →