Patent ID: 8055757

Claim:
A computer implemented method for buffering log messages, comprising: an application concurrently executing a plurality of different units of work, wherein the application defines a beginning and an ending of each of the units of work, wherein the application calling a plurality of log messages for a logging subsystem, wherein one or more of the log messages are called for each of the units of work; receiving the plurality of log messages for the logging subsystem at a message block subsystem; in the message block subsystem associating each of the plurality of log messages with one of a plurality of items of work; organizing the received plurality of log messages in the message block subsystem according to their associated one of the plurality of items of work; and outputting organized log messages according to the plurality of items of work to the logging subsystem, wherein the log messages associated with each of the plurality of items of work are output as a group to the logging subsystem upon completion of the associated item of work, which results in the log messages being recorded in the logging subsystem in a different order than that which the messages would have been recorded in if the log messages were sent directly to the logging subsystem instead of being handled and organized by the message block subsystem.