Directory Services 7.3.5

Debug Target

Debug Targets define the types of messages logged by the debug logPublisher.

Debug targets allow for fine-grain control of which messages are logged based on the package, class, or method that generated the message. Each debug target configuration entry resides below the entry with RDN of "cn=Debug Target" immediately below the parent ds-cfg-debug-log-publisher entry.

Dependencies

The following objects have Debug Targets:

Debug Target properties

You can use configuration expressions to set property values at startup time. For details, see Property value substitution.

Basic Properties

debug-exceptions-only
debug-scope
enabled
include-throwable-cause
omit-method-entry-arguments
omit-method-return-value
throwable-stack-frames

Basic properties

Use the --advanced option to access advanced properties.

debug-exceptions-only

Synopsis

Indicates whether only logs with exception should be logged.

Default value

false

Allowed values

true

false

Multi-valued

No

Required

No

Admin action required

None

Advanced

No

Read-only

No

debug-scope

Synopsis

Specifies the fully-qualified OpenDJ Java package, class, or method affected by the settings in this target definition. Use the number character (#) to separate the class name and the method name (that is, org.opends.server.core.DirectoryServer#startUp).

Default value

None

Allowed values

The fully-qualified OpenDJ Java package, class, or method name.

Multi-valued

No

Required

Yes

Admin action required

None

Advanced

No

Read-only

Yes

enabled

Synopsis

Indicates whether the Debug Target is enabled.

Default value

None

Allowed values

true

false

Multi-valued

No

Required

Yes

Admin action required

None

Advanced

No

Read-only

No

include-throwable-cause

Synopsis

Specifies the property to indicate whether to include the cause of exceptions in exception thrown and caught messages.

Default value

false

Allowed values

true

false

Multi-valued

No

Required

No

Admin action required

None

Advanced

No

Read-only

No

omit-method-entry-arguments

Synopsis

Specifies the property to indicate whether to include method arguments in debug messages.

Default value

false

Allowed values

true

false

Multi-valued

No

Required

No

Admin action required

None

Advanced

No

Read-only

No

omit-method-return-value

Synopsis

Specifies the property to indicate whether to include the return value in debug messages.

Default value

false

Allowed values

true

false

Multi-valued

No

Required

No

Admin action required

None

Advanced

No

Read-only

No

throwable-stack-frames

Synopsis

Specifies the property to indicate the number of stack frames to include in the stack trace for method entry and exception thrown messages.

Default value

0

Allowed values

An integer.

Lower limit: 0.

Multi-valued

No

Required

No

Admin action required

None

Advanced

No

Read-only

No

Copyright © 2010-2024 ForgeRock, all rights reserved.