Syslog message handling
AssigneeHewlett-Packard Development Company, L.P.
InventorsNeeshant Desai, Adrian Cowham
Life of this patent
Estimating the term…
Abstract
A method for processing syslog messages. The syslog messages are received from a plurality of components. The method includes receiving a first syslog message. The method further includes determining whether the first syslog message is one of a plurality of critical syslog messages. The method also includes, if the first syslog message is the one of the plurality of critical syslog messages, performing critical message handling using the first syslog message. The method yet also includes, if the first syslog message is not any of the plurality of critical syslog messages, performing non-critical message handling using the first syslog message.
Claims12
In a computer system, a method for processing syslog messages, said syslog messages being received from a plurality of components, comprising:
- receiving a first syslog message;
- determining by a syslog server of the computer system whether said first syslog message is one of a plurality of critical syslog messages;
- if said first syslog message is not any of said plurality of critical syslog messages,
- placing said first syslog message in a syslog queue by the syslog server, the syslog queue having one or more other syslog messages already stored in said syslog queue, said syslog queue processed on a first-in, first-out basis, such that said first syslog message is retrieved from said syslog queue and processed after said other syslog messages already stored in said syslog queue are retrieved from said syslog queue and processed;
- if said first syslog message is said one of said plurality of critical syslog messages,
- clearing said one or more other syslog messages from said syslog queue by said syslog server, and placing said first syslog message in said syslog queue by said syslog server after said one or more other syslog messages have been cleared from said syslog queue, such that said first syslog message is retrieved next from said syslog queue and processed,
- wherein said first syslog message is processed by a processor of the computer system in a same way regardless of whether said first syslog message is said one of said plurality of critical syslog messages after said first syslog message has been retrieved from said syslog queue by said processor.
An article of manufacture comprising a program storage medium having computer readable code embodied therein, said computer readable code being configured to process syslog messages received from a plurality of components, comprising:
- computer readable code for receiving a first syslog message;
- computer readable code for determining whether said first syslog message is one of a plurality of critical syslog messages;
- computer readable code for, if said first syslog message is not any of said plurality of critical syslog messages, placing said first syslog message in a syslog queue, the syslog queue having one or more other syslog messages already stored in said syslog queue, said syslog queue processed on a first-in, first-out basis, such that said first syslog message is retrieved from said syslog queue and processed after said other syslog messages already stored in said syslog queue are retrieved from said syslog queue and processed;
- computer readable code for, if said first syslog message is said one of said plurality of critical syslog messages, clearing said one or more other syslog messages from said syslog queue and placing said first syslog message in said syslog queue after said one or more other syslog messages have been cleared from said syslog queue, such that said first syslog message is retrieved next from said syslog queue and processed;
- computer readable code for retrieving and processing said first syslog message from said syslog queue in a same way regardless of whether said first syslog message is said one of said plurality of critical syslog messages after said first syslog message has retrieved from said syslog queue.
A computer system comprising:
- a syslog queue to store a plurality of syslog messages;
- a processor to retrieve the syslog messages from the syslog queue on a first-in, first-out basis and to process the syslog messages upon retrieving the syslog messages from the syslog queue;
- a syslog server to receive a first syslog message, to determine whether the first syslog message is one of a plurality of critical syslog messages, and to
- if the first syslog message is not any of the plurality of critical syslog messages,
- place the first syslog message in the syslog queue behind any other syslog messages already stored in the syslog queue, such that the first syslog message is retrieved from the syslog queue and processed by the processor after the other syslog messages already stored in the syslog queue have been retrieved from the syslog queue and processed by the processor;
- if the first syslog message is the one of a the plurality of critical syslog messages,
- clear any other syslog messages already stored in the syslog queue, and after clearing any other syslog messages already stored in the syslog queue, place the first syslog message in the syslog queue, such that the first syslog message is retrieved next from the syslog queue and processed by the processor,
- wherein the processor is, after retrieving the syslog messages from the queue, to process the syslog messages in a same way regardless of whether the syslog messages are critical syslog messages or not.
Dependencies are inferred from the claim text.