hotspot/src/share/vm/logging/logFileOutput.cpp
changeset 39707 4974c8df2532
parent 38263 a7488329ad27
child 40902 395e1f3ec886
--- a/hotspot/src/share/vm/logging/logFileOutput.cpp	Sat Jul 09 19:20:38 2016 -0700
+++ b/hotspot/src/share/vm/logging/logFileOutput.cpp	Wed Jul 06 20:58:08 2016 +0900
@@ -428,3 +428,13 @@
   result[result_len] = '\0';
   return result;
 }
+
+void LogFileOutput::describe(outputStream *out) {
+  LogOutput::describe(out);
+  out->print(" ");
+
+  out->print("filecount=%u,filesize=" SIZE_FORMAT "%s", _file_count,
+             byte_size_in_proper_unit(_rotate_size),
+             proper_unit_for_byte_size(_rotate_size));
+}
+