8158150: LogConfiguration::describe output can get truncated
authorrehn
Tue, 31 May 2016 12:40:42 +0200
changeset 38729 bc9d98606cef
parent 38727 f5f44a314a9c
child 38730 081e6ad12023
8158150: LogConfiguration::describe output can get truncated Reviewed-by: dholmes, kbarrett
hotspot/src/share/vm/logging/logConfiguration.cpp
--- a/hotspot/src/share/vm/logging/logConfiguration.cpp	Mon May 30 19:56:27 2016 +0400
+++ b/hotspot/src/share/vm/logging/logConfiguration.cpp	Tue May 31 12:40:42 2016 +0200
@@ -415,7 +415,9 @@
 void LogConfiguration::describe_current_configuration(outputStream* out){
   out->print_cr("Log output configuration:");
   for (size_t i = 0; i < _n_outputs; i++) {
-    out->print("#" SIZE_FORMAT ": %s %s ", i, _outputs[i]->name(), _outputs[i]->config_string());
+    out->print("#" SIZE_FORMAT ": %s ", i, _outputs[i]->name());
+    out->print_raw(_outputs[i]->config_string());
+    out->print(" ");
     char delimiter[2] = {0};
     for (size_t d = 0; d < LogDecorators::Count; d++) {
       LogDecorators::Decorator decorator = static_cast<LogDecorators::Decorator>(d);