Logging in multithreaded application
First Claim
Patent Images
1. A method for analyzing activity in a contact center, the method comprising:
- sending, by a first module, an event or message to a second module, the event or message for prompting the second module to take action, the event or message having a unique identifier unique to the event or message;
generating and recording, by the first module, a first log entry in a first log file, the first log entry including the unique identifier and corresponding to the sending of the event or message to the second module;
receiving, by the second module, the event or message;
generating and recording, by the second module, a second log entry in a second log file, the second log entry including the unique identifier and corresponding to the receiving, from the first module, of the event or message;
generating and recording, by the second module, a third log entry in the second log file, the third log entry being generated and recorded in response to the second module completing the action prompted by the event or message;
parsing, by a parser executing on a first computing device, the first and second log files for extracting data from the first and second log files, wherein the data that is extracted is automatically determined based on a type of log file being parsed;
storing the extracted data in corresponding fields of first and second tables of a database based on the first and second log files from which the data is extracted, wherein the database stores a dedicated table for each of the first and second log files;
performing, by an analysis tool, a database query in the database; and
displaying, by the analysis tool, the results of the query for identifying activity by the first and second modules, wherein the display of the results of the query prompts diagnosis of unusual or erroneous activity in the contact center.
5 Assignments
0 Petitions
Accused Products
Abstract
A method for analyzing multiple log files generated by interacting software modules. In a first stage the log files are parsed by a log parser and their contents stored in a database. In a second stage, queries are run on the database to combine related log entries from multiple files. The files may contain trigger entries corresponding to the sending of events and handler entries corresponding to the handling of events, which may be used, in queries, to link related log file entries. Query results may be displayed as clickable links allowing a user to open a log file and view a log entry related to the query result by clicking on such a link.
-
Citations
18 Claims
-
1. A method for analyzing activity in a contact center, the method comprising:
-
sending, by a first module, an event or message to a second module, the event or message for prompting the second module to take action, the event or message having a unique identifier unique to the event or message; generating and recording, by the first module, a first log entry in a first log file, the first log entry including the unique identifier and corresponding to the sending of the event or message to the second module; receiving, by the second module, the event or message; generating and recording, by the second module, a second log entry in a second log file, the second log entry including the unique identifier and corresponding to the receiving, from the first module, of the event or message; generating and recording, by the second module, a third log entry in the second log file, the third log entry being generated and recorded in response to the second module completing the action prompted by the event or message; parsing, by a parser executing on a first computing device, the first and second log files for extracting data from the first and second log files, wherein the data that is extracted is automatically determined based on a type of log file being parsed; storing the extracted data in corresponding fields of first and second tables of a database based on the first and second log files from which the data is extracted, wherein the database stores a dedicated table for each of the first and second log files; performing, by an analysis tool, a database query in the database; and displaying, by the analysis tool, the results of the query for identifying activity by the first and second modules, wherein the display of the results of the query prompts diagnosis of unusual or erroneous activity in the contact center. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 18)
-
-
9. A system for analyzing activity in a contact center, the system comprising:
-
a hardware processor; and a memory coupled to the hardware processor, wherein the memory has stored thereon instructions that, when executed by the hardware processor, cause the hardware processor to; send, by a first module, an event or message to a second module, the event or message for prompting the second module to take action, the event or message having a unique identifier unique to the event or message; generate and record, by the first module, a first log entry in a first log file, the first log entry including the unique identifier and corresponding to the sending of the event or message to the second module, receive, by the second module, the event or message; generate and record, by the second module, a second log entry in a second log file, the second log entry including the unique identifier and corresponding to the receiving, from the first module, of the event or message; generate and record, by the second module, a third log entry in the second log file, the third log entry being generated and recorded in response to the second module completing the event or message; parse and extract data from the first and second log files, wherein the data that is extracted is automatically determined based on a type of log file being parsed; store the extracted data in corresponding fields of first and second tables of a database based on the first and second log files from which the data is extracted, wherein the database stores a dedicated table for each of the first and second log files; perform a database query in the database; and display the results of the query for identifying activity by the first or second modules, wherein the display of the results of the query prompts diagnosis of unusual or erroneous activity in the contact center. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
Specification