Hitachi

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


7.4.1 -XX:HitachiJavaLog

-XX:HitachiJavaLog specifies the prefix and the output-destination directory of Java VM log files.

Description

-XX:HitachiJavaLog specifies the prefix and the output-destination directory of Java VM log files.

If multiple Java VM processes are executed in the same current directory at the same time, or if multiple Java VM processes for which the same log output destination is specified for the -XX:HitachiJavaLog option are executed at the same time, information will not be output to the Java VM log files correctly. To execute multiple Java VM processes, specify the -XX:HitachiJavaLog option so that a different path is used as the log output destination for each process.

Prerequisite options

Specify one of the following options:

  • -XX:+HitachiVerboseGC

  • -XX:+HitachiOutOfMemoryStackTrace

  • -XX:+HitachiOutOfMemoryCause

  • -XX:+HitachiOutOfMemorySize

  • -XX:+HitachiJavaClassLibTrace

  • -XX:+JITCompilerContinuation

Syntax

-XX:HitachiJavaLog:character_string

Specifiable values

character_string

Type: String

Specify a prefix and a path. If this option is not specified, javalog is set for character_string. The file name after the prefix varies depending on the rotation method for Java VM log files.

If the rotation method for Java VM log files is the wraparound method, log files are created as character_string??.log (where ?? is a serial number from 01 to 99). For example, if Samp is specified for character_string, the first log file name will be Samp01.log.

If the rotation method for Java VM log files is the shift method, the current log file and backup log files to be output are created. The current log file is created as character_string.log, and the backup log files are created as character_string??.log (where ?? is a serial number from 01 to 98). For example, if Samp is specified for character_string, the current log file name will be Samp.log. When the current log file is backed up, the first backup log file name will be Samp01.log.

The three following patterns can be used to specify the prefix and the path.

To specify the prefix only:

Files for which the file name starts with character_string are output to the current directory.

To specify the path only:

If a directory is specified for character_string, files for which the file name starts with the default prefix javalog are created in the specified directory.

To specify the prefix and the path:

If both a directory and a prefix are specified for character_string, files are created in the specified directory. For example, if d:\temp\Samp is specified for character_string, one of the following files will be created in the d:\temp directory: Samp01.log for the wraparound method, or Samp.log for the shift method.

Default value

If the definition item is omitted:

-XX:HitachiJavaLog:javalog