8158150: LogConfiguration::describe output can get truncated
Reviewed-by: dholmes, kbarrett
--- 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);