IP Library › Granted Patent US 9,910,759
Granted Patent B2
US 9,910,759 · App. 14/958,613 · Granted Mar 6, 2018

Logging framework and methods

Inventors: Praveen Shivaprasad (Bangalore, IN); Lakshmy Chandran (Bangalore, IN); Kunal Parsewar (Bangalore, IN); Vishnu Gowda Harish (Bangalore, IN); Sneha Ranganath (Bangalore, IN)
Assignee: SAP SE
G06F11/3476G06F11/3024G06F11/36
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 9,910,759
App. No.
14/958,613
Granted
Mar 6, 2018
Kind
B2
Abstract

A system comprising one or more processors executing a first process and a second process, a memory storing log information for the first process and the second process, and one or more logging components, executing on the one or more processors. The one or more logging components are configured to identify a first log event associated with the first process, generate an event identifier (ID) based on the first log event, transfer the event ID to the second process, identify a second log event associated with the second process and based on the first log event, and associate the event ID with the second log event in the memory.

Claims (49)

1. A system comprising:

one or more processors executing a first process and a second process;

a memory storing log information for the first process and the second process; and

one or more logging components, executing on the one or more processors, configured to, at least:

identify a first log event, the first log event associated with the first process;

link the first log event with a unique event identifier (ID), the unique event ID uniquely identifying an event stemming from a common underlying error condition across multiple server processes;

transfer the unique event ID to the second process;

identify a second log event, the second log event associated with the second process;

link the unique event ID with the second log event based on the second log event stemming from the common underlying error condition;

in response to receiving the first log event and the second log event at a logging agent, storing the first log event and the second log event as a consolidated log event in a central location; and

presenting the consolidated log event in a log viewer, the log viewer including a consolidated view for presentation to an administrator.

2. The system of claim 1 ,

wherein the log viewer is configured to correlate the first log event data and the second log event data based on the unique event ID.

3. The system of claim 1 , wherein the one or more logging components are implemented as an extension of a Java-based logging tool.

4. The system of claim 1 , wherein the first process is a callee process, the second process is a caller process, and the transferring the unique event ID to the second process further includes:

generating a response message associated with a request from the caller process to the callee process, the response message including the unique event ID; and

transmitting the response message to the second process in response to the request.

5. The system of claim 4 , further comprising determining that the second log event stems from the common underlying error condition based on the second process receiving the response message from the first process.

6. A computerized method comprising:

identifying, using one or more hardware processors, a first log event, the first log event associated with a first application process executing on a first computing device;

linking the first log event to a a unique event identifier (ID)), the unique event ID uniquely identifying an event stemming from a common underlying error condition across multiple application processes;

transferring the unique event ID to a second application process executing on one of the first computing device and a second computing device;

identifying a second log event, the second log event associated with the second process;

linking the second log event with the unique event ID based on the second log event stemming from the common underlying error condition;

in response to receiving the first log event and the second log event at a logging agent, storing the first log event and the second log event as a consolidated log event in a central location; and

presenting the consolidated log event in a log viewer, the log viewer including a consolidated view for presentation to an administrator.

7. The method of claim 6 , further comprising:

storing the first log event data and the second log event data in a logging database; and

correlating the first log event data and the second log event data based on the unique event ID.

8. The method of claim 6 , wherein the method is performed as an extension of a Java-based logging tool.

9. The method of claim 6 , wherein the first process is a callee process, the second process is a caller process, and the transferring the unique event ID to the second process further includes:

generating a response message associated with a request from the caller process to the callee process, the response message including the unique event ID; and

transmitting the response message to the second process in response to the request.

10. The method of claim 9 , further comprising determining that the second log event shares a common cause with the first log event based on the second process receiving the response message from the first process.

11. A non-transitory machine-readable medium storing processor-executable instructions that, when executed by one or more processors, cause the one or more processors to, at least:

identify a first log event, the first log event associated with a first process;

link the first log event to a unique event identifier (ID), the unique event ID uniquely identifying an event stemming from a common underlying error condition across multiple processes;

transfer the unique event ID to a second process;

identify a second log event, the second log event associated with the second process;

link the unique event ID with the second log event based on the second log event stemming from the common underlying error condition;

in response to receiving the first log event and the second log event at a logging agent, storing the first log event and the second log event as a consolidated log event in a central location; and

presenting the consolidated log event in a log viewer, the log viewer including a consolidated view for presentation to an administrator.

12. The machine-readable medium of claim 11 , wherein the processor-executable instructions further cause the one or more processor to:

store the first log event data and the second log event data in a logging database; and

correlate the first log event data and the second log event data based on the unique event ID.

13. The machine-readable medium of claim 11 , wherein the first process is a callee process, the second process is a caller process, and the transferring the event ID to the second process further includes:

generating a response message associated with a request from the caller process to the callee process, the response message including the unique event ID; and

transmitting the response message to the second process in response to the request.

14. The machine-readable medium of claim 13 , wherein the second log event sharing a common cause with the first log event is based on the second process receiving the response message from the first process.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 12, 2016
From: SHIVAPRASAD, PRAVEEN; CHANDRAN, LAKSHMY; PARSEWAR, KUNAL; HARISH, VISHNU GOWDA; RANGANATH, SNEHA
To: SAP SE
Reel/Frame 037465/0732 →
Continuity (1)
Related Publication 20170161166A1 · Jun 8, 2017