-XX:HitachiJavaLog (Option for specifying the prefix of log file name)
- Organization of this page
Format
-XX:HitachiJavaLog:character-string
Description
Specify the prefix and the output destination directory of JavaVM log files.
- Default value
-
-
-XX:HitachiJavaLog:javalog
-
- Prerequisite options
-
Specify one of the following values:
-
-XX:+HitachiVerboseGC
-
-XX:+HitachiOutOfMemoryStackTrace
-
-XX:+HitachiOutOfMemoryCause
-
-XX:+HitachiOutOfMemorySize
-
-XX:+HitachiJavaClassLibTrace
-
-XX:+JITCompilerContinuation
-
Argument
- character-string
-
Specify the prefix and path. The following 3 types can be specified:
- To specify the prefix
-
The log file name is created as character-string??.log (?? is a serial number from 01 to 99). For example, if you specify "Samp" in character-string, the log file name is Samp01.log. If you do not specify this option, then "javalog" will be set in the character-string and. The log file is output to the current directory.
- To specify the path
-
If the directory is specified in character-string, the file is created in the specified directory. The log file name is generated as character-stringjavalog??.log (?? is the serial number from 01 to 99).
- To specify the path and prefix concurrently
-
When the directory and prefix are specified in character-string, the file is created in the specified directory. The log file name is created as character-string??.log (?? is a serial number from 01 to 99). For example, if you specify d:\temp\Samp in character-string, Samp01.log is created in the d:\temp directory.