Bug 1031129 - Using directory grouping by-type results in the wrong logging.properties file being used
Summary: Using directory grouping by-type results in the wrong logging.properties file...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: TBD EAP 6
Hardware: All
OS: All
unspecified
medium
Target Milestone: DR0
: EAP 6.3.0
Assignee: James Perkins
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: 1050068
TreeView+ depends on / blocked
 
Reported: 2013-11-15 16:53 UTC by James Perkins
Modified: 2019-02-15 13:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1050068 (view as bug list)
Environment:
Last Closed: 2014-06-28 15:38:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-2514 0 Major Resolved Using directory grouping by-type results in the wrong logging.properties file being used 2015-09-18 07:54:36 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.