Red Hat Bugzilla – Bug 1031129
Using directory grouping by-type results in the wrong logging.properties file being used
Last modified: 2014-06-28 11:38:02 EDT
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
domain/logs/server-one/server.log gets overwritten instead of appended
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.
James Perkins <email@example.com> made a comment on jira WFLY-2514
Pull request merged
Verified on EAP 6.3.0.DR0.