IP Library Granted Patent US 8,245,203
Granted Patent B2
US 8,245,203 · App. 11/771,986 · Granted Aug 14, 2012

Logging system and method for computer software

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,245,203
App. No.
11/771,986
Granted
Aug 14, 2012
Kind
B2
Abstract

The present invention provides a computer-implemented method to generate a logging dictionary for a compilation of a source code that has a logging statement and associated source code static data, comprising: selecting part of the source code that includes the logging statement; determining source code static data associated with the logging statement; generating a combined data element from the associated source code static data; correlating the combined data element with the logging statement; wherein if the combined data element does not occur in the logging dictionary correlated to said logging statement; assigning a log index value to the combined data element; and adding the log index value, correlated to the logging statement, to the log dictionary.

Claims (52)

1. A computer-implemented method to generate a logging dictionary for a compilation of a source code that has a logging statement and associated source code static data, comprising:

selecting part of said source code that includes said logging statement;

determining source code static data associated with said logging statement, wherein said associated source code static data includes static variable names, fixed text and fixed formatting information;

generating a combined data element from said associated source code static data, wherein said combined data element includes said static variable names, said fixed text and said fixed format information;

wherein if said combined data element does not occur in said logging dictionary correlated to said logging statement:

assigning a log index value to said combined data element; and adding said log index value, correlated to the logging statement, to said logging dictionary.

2. The method of claim 1 , further comprising recording said combined data element, associated with said log index value and said search logging statement, in said log dictionary.

3. The method of claim 1 , wherein said associated static data can be selected from the group consisting of:

a line number associated with said logging statement in said source code,

a file name associated with said logging statement in said source code,

a type of variable associated with said logging statement in said source code,

a type of value associated with said logging statement in said source code, and

an indication of the number of values in said source code.

4. The method of claim 1 , wherein a piece of data is alternatively defineable as both:

said source code static data; and

a source code dynamic data.

5. The method of claim 1 , wherein source code dynamic data of said source code is not employed to generate said log index value.

6. A computer-implemented method for generating a key index value that correlates to a logging statement and associated source code static data, comprising:

selecting part of a source code that includes said logging statement;

determining associated source code static data associated with said logging statement, wherein said associated source code static data includes fixed text, fixed format information and static variable names;

generating a combined data element from said associated source code static data, wherein said combined data element includes said fixed text, said fixed format information and said static variable names;

determining a log index value associated with said correlated combined data element and said logging statement;

enabling a write, to a log, of said log index value in said source code; and generating a modified source code associated with said log index value and a variable name to replace said source code.

7. The method of claim 6 , wherein said generating a modified source code includes appending a variable name to said log index value.

8. The method of claim 6 , further comprising writing said log index value to a logging dictionary during said generating said modified source code.

9. The method of claim 8 , further comprising rewriting said log into human readable form, comprising:

running an executable filed based on said modified source code; and

outputting said log index value in a log.

10. The method of claim 9 , further comprising:

outputting dynamic data associated with said log index number.

11. The method of claim 10 , further comprising:

converting said log index value into human-understandable format.

12. The method of claim 6 , further comprising:

deleting said source code static data and said logging statement from said source code.

13. The method of claim 6 , wherein said generating a modified source code includes inserting said key index value in said source code.

14. A preprocessor system for modifying source code, comprising:

a) a logging statement identifier configured to:

distinguish a logging statement from a source code; and

parse source code, associated with said source code, further into:

i) associated source static data that includes static variable names, fixed text and fixed format information, and

ii) associated static variable name data;

b) a logging dictionary generator, configured to:

i) combine said associated source static data and said associated static variable name data to form a combined data element that includes said static variable names, said fixed text and said fixed format information;

ii) if said combined data element does not occur in a coupled logging dictionary correlated to said logging statement, generate a log index value that acts as a key for said combined data element; and

iii) store said log index value and said combined data element into said logging dictionary, and

c) a computer processor.

15. The preprocessor system of claim 14 , wherein said logging dictionary generator is configured to enter said log index value and said combined data element into an entry of said logging dictionary associated with said logging statement.

16. The preprocessor system of claim 14 , further comprising:

a logging statement translator configured to replace said associated source static data and said logging statement, with an alternative logging statement that writes the said log index value in said log, to create a modified source code.

17. The preprocessor system of claim 16 , wherein said logging statement translator is further configured to compile said modified source code.

18. The preprocessing system of claim 14 , wherein said logging dictionary generator is configured to not store a duplicate copy of said log index value and said combined data element associated with said logging statement in said logging dictionary.

19. The preprocessing system of claim 14 , wherein said logging dictionary generator is configured to perform said generate and said store if said combined data element does not occur in said logging dictionary correlated to said logging statement.

Assignments (8)
RELEASE OF SECURITY INTEREST Recorded Jun 3, 2021
From: TERRIER SSC, LLC
To: WSOU INVESTMENTS, LLC
Reel/Frame 056526/0093 →
SECURITY INTEREST Recorded Jun 1, 2021
From: WSOU INVESTMENTS, LLC
To: OT WSOU TERRIER HOLDINGS, LLC
Reel/Frame 056990/0081 →
RELEASE OF SECURITY INTEREST Recorded May 21, 2019
From: OCO OPPORTUNITIES MASTER FUND, L.P. (F/K/A OMEGA CREDIT OPPORTUNITIES MASTER FUND LP
To: WSOU INVESTMENTS, LLC
Reel/Frame 049246/0405 →
SECURITY INTEREST Recorded May 20, 2019
From: WSOU INVESTMENTS, LLC
To: BP FUNDING TRUST, SERIES SPL-VI
Reel/Frame 049235/0068 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 25, 2017
From: ALCATEL LUCENT
To: WSOU INVESTMENTS, LLC
Reel/Frame 044000/0053 →
SECURITY INTEREST Recorded Sep 21, 2017
From: WSOU INVESTMENTS, LLC
To: OMEGA CREDIT OPPORTUNITIES MASTER FUND, LP
Reel/Frame 043966/0574 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 15, 2012
From: ALCATEL-LUCENT USA INC.
To: ALCATEL LUCENT
Reel/Frame 028381/0386 →
MERGER Recorded Jun 11, 2012
From: LUCENT TECHNOLOGIES INC.
To: ALCATEL-LUCENT USA INC.
Reel/Frame 028352/0218 →