A method, system, and computer program product for the creation and logging of
a taskID is provided. In one embodiment, a component initiates a task and requests
a task identification (TaskID) from a log task manager. The taskID follows this
task (which may flow across multiple components or ORBs) until completion. The
TaskID is passed in the thread context in local methods and in the message context
in remote method invocations. The taskID is then logged with message and trace
data from each of the components through which the task flows that generate a trace
or message log.