@jc:log Annotation

The @jc:log annotation indicates the log4j category to use for the Database control. You can specify logging categories in the workshopLogCfg.xml file which is part of your WebLogic Workshop installation. For more information on configuring logging in WebLogic Workshop, see workshopLogCfg.xml Configuration File.

Syntax

@jc:log

category="categoryName"

Attributes

category

Optional. Specifies the name of the category under which logging information for this Database control should be written.

Remarks

By default, the Database control logs errors under a category corresponding to the name of its implementation class (com.bea.wlw.runtime.core.control.DatabaseControlImpl). If you want to override this category, you can specify a new category in the workshopLogCfg.xml file and set the category attribute of the @jc:log tag to the name of that category.

Related Topics

workshopLogCfg.xml Configuration File