mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8327410: Add hostname option for UL file names
Reviewed-by: jsjolen, dholmes
This commit is contained in:
parent
21867c929a
commit
f3db2796b8
4 changed files with 61 additions and 58 deletions
|
@ -4308,9 +4308,9 @@ The \f[V]-Xlog\f[R] option supports the following types of outputs:
|
|||
.IP \[bu] 2
|
||||
\f[V]file=\f[R]\f[I]filename\f[R] --- Sends output to text file(s).
|
||||
.PP
|
||||
When using \f[V]file=\f[R]\f[I]filename\f[R], specifying \f[V]%p\f[R]
|
||||
and/or \f[V]%t\f[R] in the file name expands to the JVM\[aq]s PID and
|
||||
startup timestamp, respectively.
|
||||
When using \f[V]file=\f[R]\f[I]filename\f[R], specifying \f[V]%p\f[R],
|
||||
\f[V]%t\f[R] and/or \f[V]%hn\f[R] in the file name expands to the
|
||||
JVM\[aq]s PID, startup timestamp and host name, respectively.
|
||||
You can also configure text files to handle file rotation based on file
|
||||
size and a number of files to rotate.
|
||||
For example, to rotate the log file every 10 MB and keep 5 files in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue