[jboss-jira] [JBoss JIRA] (WFLY-2514) Using directory grouping by-type results in the wrong logging.properties file being used

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Nov 15 11:55:06 EST 2013


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

RH Bugzilla Integration commented on WFLY-2514:
-----------------------------------------------

James Perkins <jperkins at redhat.com> made a comment on [bug 1031129|https://bugzilla.redhat.com/show_bug.cgi?id=1031129]

Description of problem:
When defining servers with directory-grouping="by-type" the wrong directory is used in the ManagedServerBootCmdFactory. This causes the domain/configuration/logging.properties to always be used which is the incorrect configuration to use.


Steps to Reproduce:
1. Edit the hosts.xml and add the directory-grouping="by-type" attribute
2. Start the domain servers
3. Restart the domain servers

Actual results:
domain/logs/server-one/server.log gets overwritten instead of appended


Expected results:
The log file should be appended.

A workaround is to edit the BOOT_LOG handler in the domain/configuration/logging.properties file or add a logging.properties file to the domain/servers/server-one/data directory.
                
> Using directory grouping by-type results in the wrong logging.properties file being used
> ----------------------------------------------------------------------------------------
>
>                 Key: WFLY-2514
>                 URL: https://issues.jboss.org/browse/WFLY-2514
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>            Reporter: James Perkins
>            Assignee: James Perkins
>             Fix For: 8.0.0.CR1
>
>
> When defining servers with {{directory-grouping="by-type"}} the wrong directory is used in the {{ManagedServerBootCmdFactory}}. This causes the {{domain/configuration/logging.properties}} to always be used which is the incorrect configuration to use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list