Bug 802051

Summary: JON agent RPM logs directory
Product: [Other] RHQ Project Reporter: Aleksandar Kostadinov <akostadi>
Component: AgentAssignee: Stefan Negrea <snegrea>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.3CC: ahovsepy, asantos, hrupp, jsanda, snegrea
Target Milestone: ---   
Target Release: JON 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-03 15:02:43 UTC Type: ---
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: 707235, 837381    

Description Aleksandar Kostadinov 2012-03-10 14:57:35 UTC
At the moment jon-agent as installed from RPM logs to

/usr/share/jboss-on-3.0.0.GA/agent/logs/

All logs on a RHEL system should live inside /var/log/...

Maybe using /var/log/jboss-on/agent would make sense given agent itself lives inside /usr/share/jboss-on-<version>/agent

If there are no convenient system properties that can be used, then /usr/share/jboss-on-<version>/agent/logs could be a symlink to /var/log/jboss-on/agent.

Comment 1 Charles Crouch 2012-03-12 15:42:37 UTC
We should consider this for 3.1 as part of the rpm work.

Comment 2 Mike Foley 2012-03-19 16:18:56 UTC
per BZ triage (asantos, ccrouch, loleary, mfoley)

Comment 3 Stefan Negrea 2012-04-24 04:56:50 UTC
Configuration properties are not available for the agent logs folder. Updated the RPM using the suggested symlink solution. The logs will be effectively stored in /var/log. This will take full advantage of configuration where /var/logs is a separate partition.


A /var/log/jboss-on/agent folder is created during RPM installation to store logs. A symlink /usr/share/jboss-on-${version}.GA/agent/logs pointing to /var/log/jboss-on/agent is also created during installation.

Comment 4 Armine Hovsepyan 2012-07-23 12:04:15 UTC
verified.
both /usr/share/jboss-on-${version}/agent/logs/ and /var/log/jboss-on/agent/ contain the same logs and same data in log files.

Comment 5 Heiko W. Rupp 2013-09-03 15:02:43 UTC
Bulk closing of old issues in VERIFIED state.