[jboss-jira] [JBoss JIRA] (WFCORE-637) /subsystem=logging/log-file resource cannot cope with an expression in the path

James Perkins (JIRA) issues at jboss.org
Mon Apr 27 13:42:53 EDT 2015


     [ https://issues.jboss.org/browse/WFCORE-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated WFCORE-637:
---------------------------------
    Priority: Optional  (was: Major)


> /subsystem=logging/log-file resource cannot cope with an expression in the path
> -------------------------------------------------------------------------------
>
>                 Key: WFCORE-637
>                 URL: https://issues.jboss.org/browse/WFCORE-637
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Logging
>    Affects Versions: 1.0.0.Beta3
>            Reporter: Ivo Studensky
>            Assignee: James Perkins
>            Priority: Optional
>
> In log subsystem, nested expression can be used for path.
> {noformat}
> "path" => {
>                         "type" => STRING,
>                         "description" => "The filesystem path.",
>                         "expressions-allowed" => true,
>                         "nillable" => false,
>                         "min-length" => 1L,
>                         "max-length" => 2147483647L
>                     }
> {noformat}
> so if I use following log configuration :
> {noformat}
> <periodic-rotating-file-handler name="FILE" autoflush="true">
>                 <formatter>
>                     <named-formatter name="PATTERN"/>
>                 </formatter>
> 				<file relative-to="jboss.server.log.dir" path="${jboss.server.name}.log"/>
>                 <suffix value=".yyyy-MM-dd"/>
>                 <append value="true"/>
> {noformat}
> server log name will be HOST_NAME.log and there is no problems to write.
> However, there is no log-file resource for it. This also leads into an issue that it cannot be displayed in Admin console Log Viewer menu. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list