Bug 1031129

Summary: Using directory grouping by-type results in the wrong logging.properties file being used
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: James Perkins <jperkins>
Component: Domain ManagementAssignee: James Perkins <jperkins>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: TBD EAP 6CC: cdewolf, emuckenh, jawilson, kkhan, myarboro
Target Milestone: DR0   
Target Release: EAP 6.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1050068 (view as bug list) Environment:
Last Closed: 2014-06-28 15:38:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1050068    

Description James Perkins 2013-11-15 16:53:17 UTC
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.

Comment 2 JBoss JIRA Server 2013-11-22 22:55:06 UTC
James Perkins <jperkins> made a comment on jira WFLY-2514

Pull request merged

Comment 5 Petr Kremensky 2014-02-24 15:48:53 UTC
Verified on EAP 6.3.0.DR0.