8170855: Example for -Xlog:help do not contain one with multiple tags
authormlarsson
Tue, 03 Jan 2017 12:24:52 +0100
changeset 43417 90c1f522d37e
parent 43416 f8c241512446
child 43418 1219e26448f1
8170855: Example for -Xlog:help do not contain one with multiple tags Reviewed-by: dholmes
hotspot/src/share/vm/logging/logConfiguration.cpp
--- a/hotspot/src/share/vm/logging/logConfiguration.cpp	Tue Jan 03 08:54:29 2017 +0100
+++ b/hotspot/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"