Bug 1283482

Summary: [GSS] (6.4.z) Log manager's module naming does does not support slots
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: James Livingston <jlivings>
Component: LoggingAssignee: John Allen <joallen>
Status: CLOSED CURRENTRELEASE QA Contact: Nikoleta Hlavickova <nziakova>
Severity: unspecified Docs Contact:
Priority: low    
Version: 6.4.0CC: bmaxwell, brian.stansberry, bspyrkos, cdewolf, harshada, jbilek, joallen, jperkins
Target Milestone: CR1   
Target Release: EAP 6.4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1278806, 1339868, 1349223    

Description James Livingston 2015-11-19 06:04:58 UTC
The log manager's AbstractPropertyConfiguration$ModuleFinder uses ModuleIdentifier.create() rather than fromString(), which means it does not support specifying the slot via "module:slot" and can only use the main slot.

Comment 2 James Livingston 2015-11-19 22:29:25 UTC
A work-around for this is to create a module-alias with some name and the slot 'main'.

If you want to use example.loghandler:10, you could define example.loghandler.10:main as an alias to the former - module paths can be prefixes of others and you can use numeric segments, since they are just opaque identifiers.


The upstream PR was merged, and will be in 1.5.6.

Comment 3 James Perkins 2015-11-19 22:30:37 UTC
I had no real plans for a 1.5.6 any time soon, but if we need this soon I can release a new version whenever.

Comment 7 Jiří Bílek 2016-08-09 11:37:14 UTC
Verified with EAP 6.4.10.CP.CR1

Comment 8 Petr Penicka 2017-01-17 13:02:57 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.

Comment 9 Petr Penicka 2017-01-17 13:03:10 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.