Bug 812744

Summary: [as7] Add log file source for managed servers
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: PluginsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-01 10:06:38 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 707223    

Description Heiko W. Rupp 2012-04-16 07:01:41 UTC
Managed servers in domain mode write their logfiles (by default) to

jboss-eap-6.0/domain/servers/<server-name>/log

e.g.

snert:/devel/jboss-eap-6.0/domain/servers/server-one/log hrupp$ ls -ls
total 20
 4 -rw-r--r--  1 hrupp  admin   2488 13 Apr 13:51 boot.log
16 -rw-r--r--  1 hrupp  admin  14897 13 Apr 12:47 server.log

This needs to be enabled in the plugin properties

Comment 1 Heiko W. Rupp 2012-04-16 19:11:48 UTC
master 1d565e6

In fact this was already there, but refactoring of path properties added a double 'domain' in it.
Also the code change now does not require that the log file already exists on discovery, which is
true for manged servers that are defined, but not yet started.

Comment 2 Heiko W. Rupp 2013-09-01 10:06:38 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.