×

Method and system for throttling log messages for multiple entities

  • US 8,914,684 B2
  • Filed: 05/26/2009
  • Issued: 12/16/2014
  • Est. Priority Date: 05/26/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method for logging messages relating to a plurality of devices simultaneously supported by a device driver, the method comprising:

  • allocating, by the device driver, a message buffer for each of the plurality of devices, wherein each message buffer is allocated to store log messages for a corresponding device;

    generating a first warning log message in response to interacting with a first device in the plurality of devices;

    flushing log messages in the message buffer corresponding to the first device to a log file upon generating the first warning log message in accordance with a log message throttling heuristic;

    generating a second warning log message in response to interacting with a second device in the plurality of devices; and

    flushing log messages in the message buffer corresponding to the second device to the log file upon generating the second warning log message in accordance with the log message throttling heuristic.

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