For plug-ins implementing Common Logging, the following extension point should be added to the plug-in's plugin.xml file to configure the logging level and Common Base Event factory:
<extension point="com.ibm.etools.common.logging.commonLoggingOptions"> <options level="ALL"/> <CommonBaseEvent msg="Common Base Event Template Message"> <sourceComponentId application="Common Logging" component="sample" componentIdType="Application" subComponent="Log" componentType="Eclipse Plugins"/> <situation categoryName="ReportSituation"> <situationType reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> </extension>The level attribute of the options element is the default logging level associated with the plugin. The options element is optional. If options is not specified the default logging level is NONE.
The valid level attribute of the options element settings are as follows:
SEVERE (highest level; least information logged)
Related reference
Setting plug-ins logging preferences
Logging preferences for Log and Trace Analyzer
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.