[jboss-jira] [JBoss JIRA] (WFCORE-2806) Global domain config for unique GC log file name and path

Brian Stansberry (JIRA) issues at jboss.org
Thu Oct 19 12:31:00 EDT 2017


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

Brian Stansberry commented on WFCORE-2806:
------------------------------------------

Never mind the bit in my previous comment about "read-resource(recursive=true,resolve-expressions=true)". I forgot that the "resolve-expressions" parameter is not supported on an HC, and even if we brought it to some parts of the HC tree (e.g. host subsystems) we wouldn't bring it to these resources.

So, my concern about "This would only work if the expression is being resolved in a context where there is one and only one relevant server, i.e. during server launch" still applies, but it's quite a bit less of a concern since the specific problem case I could think of isn't real.

> Global domain config for unique GC log file name and path
> ---------------------------------------------------------
>
>                 Key: WFCORE-2806
>                 URL: https://issues.jboss.org/browse/WFCORE-2806
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Aaron Ogburn
>              Labels: domain-mode
>
> Customers often try to do something like the following in their server group for domain mode to easily get a unique gc log path for all server group members:
> {code}
> <option value="-Xloggc:${jboss.server.log.dir}/gc.log"/>
> {code}
> But jboss.server.log.dir can't be resolved at that point so it fails.  The next best thing that can be done is:
> {code}
> <option value="-Xloggc:${jboss.domain.servers.dir}/server-name/log/gc.log"/>
> {code}
> But then that has to be set for each server.  It'd help if domain mode had some way of easily setting a gc.log path in a server-group level or higher that could be set once and result in unique gc log paths for all servers in the server-group.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list