Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


7.18.8 jvm.userprf.ThrowableNameEditMethod

jvm.userprf.ThrowableNameEditMethod specifies how the name of an exception or error class is to be modified if the length of the name exceeds 32 characters.

Description

jvm.userprf.ThrowableNameEditMethod specifies how the name of an exception or error class is to be modified if the length of the name exceeds 32 characters. If the length of the name of an exception or error class is 32 characters or less, all characters are output to the trace information regardless of the specification in this property.

Prerequisite properties
  • jvm.userprf.Enable=true

  • jvm.userprf.ThrowableName=true

Syntax

jvm.userprf.ThrowableNameEditMethod={FRONT_CUT | BACK_CUT | CENTER_CUT}

Specifiable values

Type: String

FRONT_CUT

The last 32 characters of the name of the exception or error class are output. In addition, the modified character string is prefixed with an asterisk (*) to indicate the omission.

BACK_CUT

The first 32 characters of the name of the exception or error class are output. In addition, the modified character string is suffixed with an asterisk (*) to indicate the omission.

CENTER_CUT

The first 16 characters and the last 16 characters of the name of the exception or error class are output. In addition, the symbol * is added after the first 16 characters and before the last 16 characters to indicate the omission.

If a value other than the above is specified, the default value is set.

Default value

If the definition item is omitted:

jvm.userprf.ThrowableNameEditMethod=FRONT_CUT

If the value is omitted:

jvm.userprf.ThrowableNameEditMethod=FRONT_CUT

Example

In the following example, the first 32 characters of the exception class name or the fully-qualified class name are output to the operation information (OPR) of the trace information, when a process ends with the exception whose package name is com.sample and whose class name is Class0123456789012345678901234567890:

-Djvm.userprf.ThrowableNameEditMethod=BACK_CUT

Depending on the specification of the jvm.userprf.LogLevel property, the operation information (OPR) of the trace information is output as shown below.

When class is specified:

Class012345678901234567890123456*

When package, method, or signature is specified:

com.sample.Class0123456789012345*