A Rhino management sub task for setting the trace level of components.

Warning This ant task has been deprecated, since it uses a ComponentID to identify a notification source (which is not compatible with the changes made to the tracing subsystem in SLEE 1.1). It has been replaced with com.opencloud.slee.mlet.ant.tasks.SetTracerLevelTask.
Ant Parameters
Attribute Description Required

failonerror

Flag to control failure behaviour. If 'true', the sub task will throw a BuildException when an error is encountered. If 'false', the sub task will throw a NonFatalBuildException instead of a BuildException under specific circumstances. See below for conditions (if any) which will cause a NonFatalBuildException.

No. default value is taken from the Rhino management parent task.

componentid

Canonical name of the component.

Only required/allowed if the component nested element is not present.

type

Indicates the type of component referenced by componentid. See below for allowable component types.

Only required/allowed if componentid parameter is present.

level

Requested trace level, can be one of 'finest', 'finer', 'fine', 'config', 'info', 'warning', 'severe', 'off'.

Yes.

Parameters available as nested elements
Element Description Required

component

Identifies the component. See com.opencloud.slee.mlet.ant.SleeComponentElement (Note that for the settracelevel sub task the optional type attribute of component is required.)

Only required/allowed if the serviceid attribute is not present.

Component Types

The following names are valid identifiers for a component type in the type attribute of the settracelevel task or a component nested element.

  • pspec - profile specification

  • ra - resource adaptor

  • service - service

  • sbb - sbb

NonFatalBuildException throw conditions
  • This task will never throw a NonFatalBuildException. It will always fail (throw a BuildException) on errors.

Previous page Next page
Rhino Version 3.0.0