Bug 1324440

Summary: [RFE] Add log message with the Application Settings
Product: [oVirt] ovirt-engine-dwh Reporter: Shirly Radco <sradco>
Component: RFEsAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.0CC: bugs, melewis, sbonazzo, ylavi
Target Milestone: ovirt-4.0.0-betaKeywords: FutureFeature, Improvement
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
lsvaty: testing_plan_complete-
ylavi: planning_ack+
sradco: devel_ack+
pstehlik: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this update, a log message with the data warehouse application settings has been added to the log file each time the data warehouse is started. This message was added because the user can update the application settings and it provides a better way to debug and monitor the data warehouse settings.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:57:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shirly Radco 2016-04-06 10:47:34 UTC
Add log message if a change was made to the Application Settings, such as 
DWH_TABLES_KEEP_SAMPLES, DWH_TABLES_KEEP_HOURLY, DWH_TABLES_KEEP_DAILY.

Comment 1 Sandro Bonazzola 2016-05-02 10:03:16 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 2 Shirly Radco 2016-05-15 12:25:25 UTC
When the ovirt-engine-dwhd is started, A log message will be added with all the Application contexts that can be altered by the user.

Example of the log message:

2016-05-15 15:09:14|ETL Service Started
ovirtEngineDbDriverClass|org.postgresql.Driver
ovirtEngineHistoryDbJdbcConnection|jdbc:postgresql://localhost:5432/ovirt_engine_history?stringtype=unspecified
hoursToKeepDaily|43800
hoursToKeepHourly|1440
ovirtEngineDbPassword|
runDeleteTime|3
ovirtEngineDbJdbcConnection|jdbc:postgresql://localhost:5432/engine?stringtype=unspecified
runInterleave|60
ovirtEngineHistoryDbUser|postgres
ovirtEngineDbUser|postgres
deleteIncrement|10
timeBetweenErrorEvents|300000
hoursToKeepSamples|24
deleteMultiplier|1000
lastErrorSent|2011-07-03 12:46:47.000000
etlVersion|4.0.0
dwhAggregationDebug|false
dwhUuid|
ovirtEngineHistoryDbDriverClass|org.postgresql.Driver
ovirtEngineHistoryDbPassword|

Comment 3 Lukas Svaty 2016-06-15 09:08:11 UTC
verified in ovirt-engine-dwh-4.0.0-2.el7ev.noarch

Comment 4 Sandro Bonazzola 2016-07-05 07:57:15 UTC
oVirt 4.0.0 has been released, closing current release.