×

Log file amnesia detection

  • US 8,001,075 B2
  • Filed: 06/01/2007
  • Issued: 08/16/2011
  • Est. Priority Date: 06/01/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for operation of a computer for detecting log file amnesia, the computer including a processor and a memory, a log file implementation and a log client running in the memory, the method comprising the steps of:

  • (a) creating by the log client implementation a log file and a first unique identifier indicating a first time interval for the log file, wherein the first unique identifier is appended to a first beginning interval record of the first time interval which marks the beginning of the first time interval;

    (b) writing a first set of one or more records to the log file, wherein a first record of the one or more records is assigned a sequential log sequence, and wherein the first set of one or more records is associated with the first unique identifier;

    (c) detecting by the log client implementation a first defined triggering event indicating a beginning of a next time interval for the log file, wherein the next time interval is used to record the writing of a next set of one or more records after writing the first set of one or more records;

    (d) creating a next unique identifier indicating the next time interval for the log file, wherein the next unique identifier is appended to a second beginning interval record of the next time interval which marks the beginning of the next time interval;

    (e) writing the next set of one or more records to the log file, wherein each of the one or more records is assigned the sequential log sequence number, and wherein the next set of one or more record is associated with a unique identifier;

    (f) receiving a request from the log client for validation of a record, wherein the record received from the log client has a log sequence number and a unique identifier;

    (g) comparing the log sequence number and the associated unique identifier for the record against the first unique identifier and the next unique identifier;

    (h) when the match is found, returning an okay message; and

    (i) when the match is not found, returning a log file amnesia message to the log client that indicates a missing set of one or more records written to the log file but no longer stored within the log file.

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