changeset 12509:48e8af011dd5

8170855: Example for -Xlog:help do not contain one with multiple tags Reviewed-by: dholmes
author mlarsson
date Tue, 03 Jan 2017 12:24:52 +0100
parents b20c6bf7938a
children acb3d6fa119b
files src/share/vm/logging/logConfiguration.cpp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/logging/logConfiguration.cpp	Tue Jan 03 08:54:29 2017 +0100
+++ b/src/share/vm/logging/logConfiguration.cpp	Tue Jan 03 12:24:52 2017 +0100
@@ -514,6 +514,14 @@
               " -Xlog:gc\n"
               "\t Log messages tagged with 'gc' tag using 'info' level to stdout, with default decorations.\n\n"
 
+              " -Xlog:gc,safepoint\n"
+              "\t Log messages tagged either with 'gc' or 'safepoint' tags, both using 'info' level, to stdout, with default decorations.\n"
+              "\t (Messages tagged with both 'gc' and 'safepoint' will not be logged.)\n\n"
+
+              " -Xlog:gc+ref=debug\n"
+              "\t Log messages tagged with both 'gc' and 'ref' tags, using 'debug' level, to stdout, with default decorations.\n"
+              "\t (Messages tagged only with one of the two tags will not be logged.)\n\n"
+
               " -Xlog:gc=debug:file=gc.txt:none\n"
               "\t Log messages tagged with 'gc' tag using 'debug' level to file 'gc.txt' with no decorations.\n\n"