×

Varying logging depth based on user defined policies

  • US 9,535,780 B2
  • Filed: 11/18/2013
  • Issued: 01/03/2017
  • Est. Priority Date: 11/18/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for writing at least a portion of a logging file associated with a thread generated by execution of an application, the logging file including a plurality of pieces of logging information from the application'"'"'s thread, the method comprising:

  • choosing a set of logging rules, which logging rules determine the selection of which pieces of information from an application'"'"'s thread will be written to a non-volatile log file;

    operating the application on a computer system to generate the application'"'"'s thread;

    during operation of the application and generation of the application'"'"'s thread, collecting a first set of pieces of operational information relating to the operation of the application from the application'"'"'s thread;

    saving the first set of pieces of operational information to a volatile buffer memory, with the volatile buffer memory being dedicated to collecting logging information from the application'"'"'s thread;

    evaluating the first set of pieces of operational information for a pre-determined condition, wherein the pre-determined condition is based on one or more policies, and wherein the one or more policies comprise a rule, a log level, a record before time, a record after time, a logging thread rule, and a first failure data capture (FFDC) rule;

    in response to a pre-determined condition occurring, selectively writing, to a non-volatile storage medium, only a first sub-set of the first set of pieces of operational information from the portion of the volatile buffer memory to the logging file, with the selection of the first sub-set from the first set being based upon the one or more policies; and

    in response to determining that the volatile buffer memory is full, overwriting the first set of operational information with a second set of operational information to the volatile buffer memory.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×