×

High speed logging system

  • US 9,570,124 B2
  • Filed: 01/09/2013
  • Issued: 02/14/2017
  • Est. Priority Date: 01/11/2012
  • Status: Active Grant
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.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×