<p dir="ltr">Thanks Bengt! </p>
<p dir="ltr">I haven't noticed this JEP is also about GC logging. </p>
<p dir="ltr">Best, <br>
Jakub Kubrynski </p>
<div class="gmail_quote">8 cze 2015 09:26 "Bengt Rutisson" <<a href="mailto:bengt.rutisson@oracle.com">bengt.rutisson@oracle.com</a>> napisaƂ(a):<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Jakub,<br>
<br>
On 2015-06-06 11:31, Jakub Kubrynski wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
currently we can turn on GC logging in runtime by using jinfo. It helps a lot when we have to investigate gc related problems without restarting the JVM. But currently we cannot set gc log filename in other way than specifying -Xloggc. Maybe it'll be good idea to provide some modern manageable flag like -XX:GCLogFileName?<br>
</blockquote>
<br>
We are currently working on a new logging framework. That work is being tracked in this JEP:<br>
<br>
JEP 158: Unified JVM Logging<br>
<a href="http://openjdk.java.net/jeps/158" target="_blank">http://openjdk.java.net/jeps/158</a><br>
<br>
As part of that work it will be possible to configure the logging during runtime, as stated by this bullet:<br>
<br>
"Logging can be configured dynamically at runtime via jcmd or MBeans"<br>
<br>
Thanks,<br>
Bengt<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-- <br>
Best regards,<br>
Jakub Kubrynski<br>
</blockquote>
<br>
<br>
</blockquote></div>