[jboss-jira] [JBoss JIRA] (WFCORE-494) Timestamped GC logs in domain mode

James Livingston (JIRA) issues at jboss.org
Thu Jan 8 18:09:29 EST 2015


    [ https://issues.jboss.org/browse/WFCORE-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031125#comment-13031125 ] 

James Livingston commented on WFCORE-494:
-----------------------------------------

Two possible solutions come to mind are setting some variables when processing the options for individual server starts, such as $SERVER_START_TIMESTAMP for this use case, or adding a <gc-logging> element to the JVM configuration which abstracts across the JVM-specific details (and supports timestamps in file names).

> Timestamped GC logs in domain mode
> ----------------------------------
>
>                 Key: WFCORE-494
>                 URL: https://issues.jboss.org/browse/WFCORE-494
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Domain Management
>    Affects Versions: 1.0.0.Alpha15
>            Reporter: James Livingston
>            Assignee: Brian Stansberry
>
> In standalone mode, you can add "-Xloggc:gc.log.`date +%Y%m%d%H%M%S`" (or Windows equivalent batch scripting) to have timestamped GC logs which is useful to prevent them from being overwritten when a server is restarted. This does not work in domain mode, since JBoss obviously does not process the back-ticks like a shell interpreter.
> It would be useful to be able to get time-stamped gc logs in domain mode.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list