Patent ID: 9501346
Filing Date: 2016-11-22
CPC Classification: G06F

Claim Text:
1. A non-transitory computer-storage medium storing instructions for processing log messages from a component that is part of an application cluster and that when executed by one or more processors cause the one or more processors to at least: collect log messages generated by the component according to a fine granularity and a coarse granularity, wherein the instructions to collect the log messages according to the fine granularity include instructions to store a first set of messages from the log messages in an incident buffer of a logging handler, wherein the instructions to collect the log messages according to the coarse granularity include instructions to store a second set of messages from the log messages in a regular buffer, and wherein the second set of log messages includes fewer log messages than the first set of log messages; and in response to detecting an error at the component, (i) freeze the incident buffer to preserve the first set of log messages present in the incident buffer, and (ii) communicate the second set of log messages in the regular buffer to a logging appliance, wherein the instructions to store the first set of messages in the incident buffer write a new log message by overwriting an oldest log message that has been stored longer than other log messages of the first set of messages, wherein the instructions to store the second set of messages store the second set of messages for a defined period of time and do not overwrite messages in the regular buffer when writing a new log message, and wherein the instructions to collect the log messages according to the fine granularity include instructions to collect log messages according to the coarse granularity and collect additional messages that are not collected for the coarse granularity.