High speed logging system
First Claim
Patent Images
1. A method comprising:
- receiving, by a device, log entries of events from a plurality of network elements,the log entries being grouped by thread based on a particular purpose;
converting, by the device, each log entry into a log record of log records,each log record comprising at least one of;
information associated with a record length of the log record,information associated with a time stamp of data collection at a network element of the plurality of network elements,information associated with a thread ID of a thread that logged each event of the events,information associated with a category of each event,information associated with a message ID code corresponding to a log message, orinformation associated with a network element ID for identifying a respective network element associated with each event;
storing, by the device, a first plurality of the log records in a first memory buffer to form a log file;
allocating, by the device and based on an amount of data stored in the first memory buffer, a second memory buffer for a second plurality of the log records;
queuing, by the device and based on the amount of data stored in the first memory buffer, the first memory buffer to a background thread to write the first plurality of the log records to a disk file,the background thread writing the first plurality of the log records to the disk file when one or more processing cycles are not needed by another thread that has a higher priority than the background thread;
associating, by the device and after the background thread writes the first plurality of the log records to the disk file, the first memory buffer with a free pool; and
storing, by the device and based on associating the first memory buffer with the free pool, a third plurality of the log records in the first memory buffer.
4 Assignments
0 Petitions
Accused Products
Abstract
A method of storing log entries of events from a plurality of network elements in a communication network, comprising the steps of: a) receiving log entries at a control processor of events from a plurality of different elements positioned, the log entries grouped into threads based on a common purpose; b) converting each log entry into a compact log record in a logging module, and c) storing the compact log records in a first memory buffer in random access memory (RAM) forming a first log file.
49 Citations
20 Claims
-
1. A method comprising:
-
receiving, by a device, log entries of events from a plurality of network elements, the log entries being grouped by thread based on a particular purpose; converting, by the device, each log entry into a log record of log records, each log record comprising at least one of; information associated with a record length of the log record, information associated with a time stamp of data collection at a network element of the plurality of network elements, information associated with a thread ID of a thread that logged each event of the events, information associated with a category of each event, information associated with a message ID code corresponding to a log message, or information associated with a network element ID for identifying a respective network element associated with each event; storing, by the device, a first plurality of the log records in a first memory buffer to form a log file; allocating, by the device and based on an amount of data stored in the first memory buffer, a second memory buffer for a second plurality of the log records; queuing, by the device and based on the amount of data stored in the first memory buffer, the first memory buffer to a background thread to write the first plurality of the log records to a disk file, the background thread writing the first plurality of the log records to the disk file when one or more processing cycles are not needed by another thread that has a higher priority than the background thread; associating, by the device and after the background thread writes the first plurality of the log records to the disk file, the first memory buffer with a free pool; and storing, by the device and based on associating the first memory buffer with the free pool, a third plurality of the log records in the first memory buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A device comprising:
a processor, implemented at least partially in hardware, to; receive log entries of events from a plurality of network elements, the log entries being grouped by thread based on a particular purpose; convert each log entry into a log record of log records, each log record comprising at least one of; information associated with a record length of the log record, information associated with a time stamp of data collection at a network element of the plurality of network elements, information associated with a thread ID of a thread that logged each event of the events, information associated with a category of each event, information associated with a message ID code corresponding to a log message, or information associated with a network element ID for identifying a respective network element associated with each event; store a first plurality of the log records in a first memory buffer to form a log file; allocate, based on an amount of data stored in the first memory buffer, a second memory buffer for a second plurality of the log records; queue, based on the amount of data stored in the first memory buffer, the first memory buffer to a background thread to write the first plurality of the log records to a disk file, the background thread writing the first plurality of the log records to the disk file when one or more processing cycles are not needed by another thread that has a higher priority than the background thread; associate, after the background thread writes the first plurality of the log records to the disk file, the first memory buffer with a free pool; and store, based on associating the first memory buffer with the free pool, a third plurality of the log records in the first memory buffer. - View Dependent Claims (11, 12, 13, 14, 15)
-
16. A system comprising:
a device to; receive log entries of events from a plurality of network elements, the log entries being grouped by thread based on a particular purpose; convert each log entry into a log record of log records, each log record comprising at least one of; information associated with a record length of the log record, information associated with a time stamp of data collection at a network element of the plurality of network elements, information associated with a thread ID of a thread that logged each event of the events, information associated with a category of each event, information associated with a message ID code corresponding to a log message, or information associated with a network element ID for identifying a respective network element associated with each event; store a first plurality of the log records in a first memory buffer to form a log file; determine, based on an amount of data stored in the first memory buffer, that a second plurality of the log records should be stored in a second memory buffer; queue, based on the amount of data stored in the first memory buffer, the first memory buffer to a background thread to write the first plurality of the log records to a disk file, the background thread writing the first plurality of the log records to the disk file when one or more processing cycles are not needed by another thread that has a higher priority than the background thread; associate, after the background thread writes the first plurality of the log records to the disk file, the first memory buffer with a free pool; and store, based on associating the first memory buffer with the free pool, a third plurality of the log records in the first memory buffer. - View Dependent Claims (17, 18, 19, 20)
Specification