Bug 1004904

Summary: rhq storage log is stored in incorrect directory - windows 2008
Product: [Other] RHQ Project Reporter: Armine Hovsepyan <ahovsepy>
Component: InstallerAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp, jshaughn, mfoley
Target Milestone: ---   
Target Release: RHQ 4.9   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-24 19:09:24 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: 951619    
Attachments:
Description Flags
rhq-logs.png none

Description Armine Hovsepyan 2013-09-05 17:34:46 UTC
Description of problem:
rhq storage log is stored in incorrect directory

Version-Release number of selected component (if applicable):
48f882b

How reproducible:
always

Steps to Reproduce:
1. install server/storage/agent on windows env
2.
3.

Actual results:
storage log stored in rhq-server-4.9.0-SNAPSHOT/rhq-storage/bin/rhq-server-4.9.0-SNAPSHOTlogsrhq-storage.log 

Expected results:

storage log stored in rhq-server-4.9.0-SNAPSHOT/logs/rhq-storage.log 

Additional info:
OS : Windows 2008
screen -shot -> http://d.pr/i/axsJ

Comment 1 Jay Shaughnessy 2013-09-06 19:41:58 UTC
commit c767213d562442c1c511cf2f610e14bdcc3244ba
Author: Jay Shaughnessy <jshaughn>
Date:   Fri Sep 6 15:17:47 2013 -0400

- fix windows paths for storage deployment options, notably the logfile storage path, but also others

Along with this fix went in a general fix for upgrade handling of the rhq-storage.log file.  When upgrading from 4.8 it was being left as the logfile location of the old server.  It should now always point to the new server's logs directory, after upgrade.

Comment 2 Armine Hovsepyan 2013-09-09 10:24:22 UTC
verified

please get screen-shot attached.

Comment 3 Armine Hovsepyan 2013-09-09 10:24:52 UTC
Created attachment 795571 [details]
rhq-logs.png

Comment 4 Heiko W. Rupp 2013-09-24 19:09:24 UTC
Bulk closing of RHQ 4.9 verified items