Bug 802051 - JON agent RPM logs directory
Summary: JON agent RPM logs directory
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent
Version: 4.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified vote
Target Milestone: ---
: JON 3.1.0
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 707235 837381
TreeView+ depends on / blocked
 
Reported: 2012-03-10 14:57 UTC by Aleksandar Kostadinov
Modified: 2013-09-03 15:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-03 15:02:43 UTC


Attachments (Terms of Use)

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.


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