Logging of exception data
First Claim
Patent Images
1. A method comprising:
- determining whether to log an exception based on whether the exception previously occurred.
3 Assignments
0 Petitions
Accused Products
Abstract
A method, apparatus, system, and signal-bearing medium that in an embodiment determine whether to log an exception based on whether the exception has already occurred. In an embodiment, exceptions that repeatedly occur at the same source and location within the source are logged on the first occurrence, and not logged thereafter. In this way, data can be saved about the exception, yet system resources are not consumed by repeated logging.
-
Citations
20 Claims
-
1. A method comprising:
determining whether to log an exception based on whether the exception previously occurred. - View Dependent Claims (2, 3, 4)
-
5. An apparatus comprising:
-
means for determining whether an exception previously occurred at an identical source; and
means for incrementing an exception count when the exception did previously occur at the identical source. - View Dependent Claims (6, 7, 8)
-
-
9. A signal-bearing medium encoded with instructions, wherein the instructions when executed comprise:
-
determining whether an exception has previously been logged based on an exception identifier, a source identifier, and a probe identifier; and
when the exception has not previously been logged, creating a new log entry and storing the exception identifier, the source identifier, and the probe identifier in the new log entry. - View Dependent Claims (10, 11, 12)
-
-
13. A signal-bearing medium encoded with a data structure to be accessed by an exception method to be executed by a processor, wherein the data structure comprises at least one entry, wherein the at least one entry comprises:
-
an exception identifier that identifies an exception;
a source identifier that identifies a source of the exception; and
a probe identifier that identifies a location of the exception within the source, wherein the exception method is to determine whether a first exception matches the entry based on the exception identifier, the source identifier, and the probe identifier, wherein when the first exception does not match the entry, the exception method is to log a call stack associated with the first exception, and wherein when the first exception does match the entry, the exception method is to refrain from logging the call stack. - View Dependent Claims (14, 15, 16)
-
-
17. A server comprising:
-
a processor; and
a storage device encoded with instructions, wherein the instructions when executed on the processor comprise;
receiving an exception identifier, a source identifier, and a probe identifier from an application, determining whether the exception identifier, the source identifier, and the probe identifier match any of a plurality of entries in a cache, when the exception identifier, the source identifier, and the probe identifier do not match any of the plurality of entries, adding a new entry to the plurality of entries and saving data associated with a status of the application, and when the exception identifier, the source identifier, and the probe identifier match one of the plurality of entries, updating an exception count in the one entry and refraining from saving the data. - View Dependent Claims (18, 19, 20)
-
Specification