Several "examples" in the documentation and help messages for -Xlog use the decorator "pids", which should be "pid".
Example example:
"-Xlog:gc=trace:file=gctrace.txt:uptimemillis,pids:filecount=5,filesize=1024
Logs messages tagged with the gc tag using the trace level to a rotating file set with 5 files with size 1 MB with the base name gctrace.txt and uses decorations uptimemillis and pid."
Results in "Invalid -Xlog option"...
See:
$ java -Xlog:help
https://docs.oracle.com/en/java/javase/12/tools/java.html#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5
https://openjdk.java.net/jeps/158
Example example:
"-Xlog:gc=trace:file=gctrace.txt:uptimemillis,pids:filecount=5,filesize=1024
Logs messages tagged with the gc tag using the trace level to a rotating file set with 5 files with size 1 MB with the base name gctrace.txt and uses decorations uptimemillis and pid."
Results in "Invalid -Xlog option"...
See:
$ java -Xlog:help
https://docs.oracle.com/en/java/javase/12/tools/java.html#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5
https://openjdk.java.net/jeps/158
- relates to
-
JDK-8215398 -Xlog option usage => Invalid decorator '\temp\app_cds.log'.
- Resolved
- links to
-
Commit(master) openjdk/jdk/07643237
-
Review(master) openjdk/jdk/20934