The logging functionality provided by the Log and Trace Analyzer implements the Common Logging strategy which enables plug-ins to log events in a common log File and Logging Agent. This file, <workspace>/.metadata/CommonBaseEvents.log, can be imported into the Log and Trace Analyzer for viewing, analysis, sorting, filtering and correlation.
The existing logging structure that uses the org.eclipse.core.runtime.IStatus is supported by the common logging architecture. The IStatus records are mapped to Common Base Event records and are serialized to XML fragments. For details on how to use the Common Logging Strategy in Eclipse, see the example in File > New > Example > Common Logging > Common Logging Sample .
The logging preferences for a plug-in that implements the Common Logging strategy can be configured in one of two ways:
Related references
Common Logging Strategy
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.