IP Library Granted Patent US 11,636,003
Granted Patent B2
US 11,636,003 · App. 17/363,212 · Granted Apr 25, 2023

Technology for logging levels and transaction log files

Inventors: Raghuveer Prasad Nagar (Kota, IN); Jagadesh Ramaswamy Hulugundi (Bangalore, IN); Abhishek Solanki (Lucknow, IN); Subba Rayudu Tangirala (Bangalore, IN)
Assignee: International Business Machines Corporation
G06F11/0787G06F11/0721G06F21/552G06N20/20G06F2221/034
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 11,636,003
App. No.
17/363,212
Granted
Apr 25, 2023
Kind
B2
Abstract

Dynamic logging includes generating parsed event data by at least one natural language processor responsive to event data of a log for transactions of a target application. In response to the parsed event data, a first classifier classifies context states of the respective transactions of the target application. In response, a second classifier classifies trouble prone states of the respective transactions, wherein the trouble prone states are for respective hierarchical levels. When a logic module determines, for a current one of the trouble prone states for a current transaction, that the current trouble prone state is a higher trouble prone level than for a transaction immediately preceding the current transaction, the logic module sends an increased log detail selection to the target application, so that a greater amount of log detail is logged for at least a next transaction after the current transaction.

Claims (44)

1. A computer system implemented method of dynamic logging including:

generating parsed event data by at least one natural language (NL) processor responsive to event data of a log for transactions of a target application;

classifying, by a first classifier applying a first machine learning model to the parsed event data, context states of the respective transactions of the target application;

classifying, by a second classifier applying a second machine learning model to the parsed event data and the context states, trouble prone states of the respective transactions, wherein the trouble prone states are for respective hierarchical levels;

determining, by a logic module, for a current one of the trouble prone states for a current transaction, that the current trouble prone state is a higher trouble prone level than for a transaction immediately preceding the current transaction; and

sending, by the logic module to the target application, an increased log detail selection responsive to the determining that the current trouble prone state is the higher trouble prone level, so that a greater amount of log detail is logged for at least a next transaction after the current transaction.

2. The method of claim 1 , wherein the context states of respective transactions of the target application include a security context.

3. The method of claim 1 , wherein the context states of respective transactions of the target application include a technical context.

4. The method of claim 1 , wherein the context states of respective transactions of the target application include a functional context.

5. The method of claim 1 , wherein the hierarchical levels include at least a lowest level, a highest level and a level between the lowest and highest levels.

6. The method of claim 1 , comprising:

determining, by the logic module, for a current one of the trouble prone states for a current transaction, that the current trouble prone state is a lower trouble prone level than for a transaction immediately preceding the current transaction; and

sending, by the dynamic logging level logic to the target application, a decreased log detail selection responsive to the determining that the current trouble prone state is the lower trouble prone level, so that a decreased amount of log detail is logged for at least a next transaction after the current transaction.

7. The method of claim 1 , comprising:

generating the parsed event data by the at least one NL processor includes generating the parsed event data by a NL processor of the logic module.

8. The method of claim 1 , wherein the first and second machine learning models include respective clustering models.

9. A computer system for dynamic logging, the system comprising:

a processor; and

a computer readable storage medium connected to the processor, wherein the computer readable storage medium has stored thereon a program for controlling the processor, and wherein the processor is operative with the program to execute the program for:

generating parsed event data by at least one natural language (NL) processor responsive to event data of a log for transactions of a target application;

classifying, by a first classifier applying a first machine learning model to the parsed event data, context states of the respective transactions of the target application;

classifying, by a second classifier applying a second machine learning model to the parsed event data and the context states, trouble prone states of the respective transactions, wherein the trouble prone states are for respective hierarchical levels;

determining, by a logic module, for a current one of the trouble prone states for a current transaction, that the current trouble prone state is a higher trouble prone level than for a transaction immediately preceding the current transaction; and

sending, by the logic module to the target application, an increased log detail selection responsive to the determining that the current trouble prone state is the higher trouble prone level, so that a greater amount of log detail is logged for at least a next transaction after the current transaction.

10. The computer system of claim 9 , wherein the context states of respective transactions of the target application include a security context, a technical context and a functional context.

11. The computer system of claim 9 , wherein the hierarchical levels include at least a lowest level, a highest level and a level between the lowest and highest levels.

12. The computer system of claim 9 , wherein the processor is operative with the program to execute the program for:

determining, by the logic module, for a current one of the trouble prone states for a current transaction, that the current trouble prone state is a lower trouble prone level than for a transaction immediately preceding the current transaction; and

sending, by the dynamic logging level logic to the target application, a decreased log detail selection responsive to the determining that the current trouble prone state is the lower trouble prone level, so that a decreased amount of log detail is logged for at least a next transaction after the current transaction.

13. The computer system of claim 9 , wherein generating the parsed event data by the at least one NL processor includes generating the parsed event data by a NL processor of the logic module.

14. The computer system of claim 9 , wherein the first and second machine learning models include respective clustering models.

15. A computer program product for dynamic logging, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:

generate parsed event data by at least one natural language (NL) processor responsive to event data of a log for transactions of a target application;

classify, by a first classifier applying a first machine learning model to the parsed event data, context states of the respective transactions of the target application;

classify, by a second classifier applying a second machine learning model to the parsed event data and the context states, trouble prone states of the respective transactions, wherein the trouble prone states are for respective hierarchical levels;

determine, by a logic module, for a current one of the trouble prone states for a current transaction, that the current trouble prone state is a higher trouble prone level than for a transaction immediately preceding the current transaction; and

send, by the logic module to the target application, an increased log detail selection responsive to the determining that the current trouble prone state is the higher trouble prone level, so that a greater amount of log detail is logged for at least a next transaction after the current transaction.

16. The computer program product of claim 15 , wherein the context states of respective transactions of the target application include a security context, a technical context and a functional context.

17. The computer program product of claim 15 , wherein the hierarchical levels include at least a lowest level, a highest level and a level between the lowest and highest levels.

18. The computer program product of claim 15 , wherein the program instructions are executable by a processor to cause the processor to:

determine, by the logic module, for a current one of the trouble prone states for a current transaction, that the current trouble prone state is a lower trouble prone level than for a transaction immediately preceding the current transaction; and

send, by the dynamic logging level logic to the target application, a decreased log detail selection responsive to the determining that the current trouble prone state is the lower trouble prone level, so that a decreased amount of log detail is logged for at least a next transaction after the current transaction.

19. The computer program product of claim 15 , wherein generating the parsed event data by the at least one NL processor includes generating the parsed event data by a NL processor of the logic module.

20. The computer program product of claim 15 , wherein the first and second machine learning models include respective clustering models.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 30, 2021
From: NAGAR, RAGHUVEER PRASAD; HULUGUNDI, JAGADESH RAMASWAMY; SOLANKI, ABHISHEK; TANGIRALA, SUBBA RAYUDU
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 056725/0881 →
Continuity (1)
Related Publication 20230004460A1 · Jan 5, 2023