Methods and apparatus in a logging system for the adaptive logger replacement in order to receive pre-boot information
First Claim
1. A method for logging events in a data processing system, the method comprising:
- responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, creating a boot logger;
logging event information using the boot logger; and
responsive to a determination that a primary logger is capable of accepting the event information, swapping the primary logger for the boot logger such that the primary logger begins logging event information.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for logging events in a data processing system is provided. In one embodiment, responsive to a determination that a situation exists preventing a primary logger from executing a logging task, a swappable adaptive logger is created, which in turn is pointed to a boot logger created by a swappable adaptive log engine. Event information is then logged to the boot logger. For example, the boot logger may write event information to memory or to a file if the logging database is unavailable. When the primary logger becomes configured and functional, the swappable adaptive logger swaps the boot logger for the primary logger and begins writing event information to the primary logger.
52 Citations
18 Claims
-
1. A method for logging events in a data processing system, the method comprising:
-
responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, creating a boot logger;
logging event information using the boot logger; and
responsive to a determination that a primary logger is capable of accepting the event information, swapping the primary logger for the boot logger such that the primary logger begins logging event information. - View Dependent Claims (2)
-
-
3. A method for logging events in a data processing system, the method comprising:
-
responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, creating a boot logger;
logging event information using the boot logger;
responsive to a determination that a primary logger is capable of accepting the event information, swapping the primary logger for the boot logger such that the primary logger begins logging event information; and
responsive to a determination that a logging database is unavailable and responsive to a determination that a file system is available, creating a boot file handler, attaching the boot file handler to the boot logger, and writing logging information to a file. - View Dependent Claims (4)
responsive to the logging database becoming available, transferring logging information from the file to the logging database.
-
-
5. A method for logging events in a data processing system, the method comprising:
-
responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, creating a boot logger;
logging event information using the boot logger;
responsive to a determination that a primary logger is capable of accepting the event information, swapping the primary logger for the boot logger such that the primary logger begins logging event information; and
responsive to a determination that a logging database is unavailable and responsive to a determination that a file system is unavailable, creating a boot memory handler, attaching the boot memory handler to the boot logger, and writing logging information to a memory unit. - View Dependent Claims (6)
responsive to the logging database becoming available, transferring logging information from the memory unit to the logging database.
-
-
7. A computer program product in a computer readable media for use in a data processing system for logging events in a data processing system, the computer program product comprising:
-
first instructions, responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, for creating a boot logger;
second instructions for logging event information using the boot logger; and
third instructions, responsive to a determination that a primary logger is capable of accepting the event information, for swapping the primary logger for the boot logger such that the primary logger begins logging event information. - View Dependent Claims (8)
-
-
9. A computer program product in a computer readable media for use in a data processing system for logging events in a data processing system, the computer program product comprising:
-
first instructions, responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, for creating a boot logger;
second instructions for logging event information using the boot logger;
third instructions, responsive to a determination that a primary logger is capable of accepting the event information, for swapping the primary logger for the boot logger such that the primary logger begins logging event information; and
fourth instructions, responsive to a determination that a logging database is unavailable and responsive to a determination that a file system is available, for creating a boot file handler, attaching the boot file handler to the boot logger, and writing logging information to a file. - View Dependent Claims (10)
fifth instructions, responsive to the logging database becoming available, for transferring logging information from the file to the logging database.
-
-
11. A computer program product in a computer readable media for use in a data processing system for logging events in a data processing system, the computer program product comprising:
-
first instructions, responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, for creating a boot logger;
second instructions for logging event information using the boot logger; and
third instructions, responsive to a determination that a primary logger is capable of accepting the event information, for swapping the primary logger for the boot logger such that the primary logger begins logging event information; and
fourth instructions, responsive to a determination that a logging database is unavailable and responsive to a determination that a file system is unavailable, for creating a boot memory handler, attaching the boot memory handler to the boot logger, and writing lagging information to a memory unit. - View Dependent Claims (12)
fifth instructions, responsive to the logging database becoming available, for transferring logging information from the memory unit to the logging database.
-
-
13. A system for logging events in a data processing system, the system comprising:
-
a swappable adaptive event logging engine which, responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, creates a boot logger; and
a swappable adaptive logger which uses the boot logger to log event information;
whereinresponsive to a determination that a primary logger is capable of accepting the event information, the swappable adaptive logger swaps the boot logger for the primary logger and uses the primary logger to log event information. - View Dependent Claims (14)
-
-
15. A system for logging events in a data processing system, the system comprising:
-
A swappable adaptive event logging engine which, responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, creates a boot logger;
a swappable adaptive logger which uses the boot logger to log event information;
whereinresponsive to a determination that a primary logger is capably of accepting the event information, the swappable adaptive logger swaps the boot logger for the primary logger and uses the primary logger to log event information; and
wherein the swappable adaptive logger, responsive to a determination that a logging database is unavailable and responsive to a determination that a file system is available, creates a boot file handler, attaches the boot file handler to the boot logger, and writes logging information to a file. - View Dependent Claims (16)
-
-
17. A system for logging events in a data processing system, the system comprising:
-
A swappable adaptive event logging engine which, responsive to a determination that a situation exists preventing a primary logging system from executing a logging task, creates a boot logger;
a swappable adaptive logger which uses the boot logger to log event information;
whereinresponsive to a determination that a primary logger is capable of accepting the event information, the swappable adaptive logger swaps the boot logger for the primary logger and uses the primary logger to log event information; and
wherein the swappable adaptable logger, responsive to a determination that a logging database is unavailable and responsive to a determination that a file system is unavailable, creates a boot memory handler, attaches the boot memory handler to the boot logger, and writes logging information to a memory unit. - View Dependent Claims (18)
-
Specification