diff options
author | 2018-03-28 13:46:11 -0400 | |
---|---|---|
committer | 2018-03-28 13:50:53 -0400 | |
commit | 5cd57949604803a32bd3a19c183eadf11f0ab900 (patch) | |
tree | f6799447752240bd654f337d5f66c397fd5fe3c4 /packages/base/src/files/install/mysql/bin/db_upgrade.sh | |
parent | 669931e76de18aabb14f9ff873da4783f8c83d7a (diff) |
ONAP code change for log files consolidation
Undo the change so this would not block other test activity
Change-Id: I4f7dd2e14f30034eefbf958be3c912af2962e8a2
Issue-ID: POLICY-562
Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
Diffstat (limited to 'packages/base/src/files/install/mysql/bin/db_upgrade.sh')
-rw-r--r-- | packages/base/src/files/install/mysql/bin/db_upgrade.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/base/src/files/install/mysql/bin/db_upgrade.sh b/packages/base/src/files/install/mysql/bin/db_upgrade.sh index 85a9218f5..87d5d9bd7 100644 --- a/packages/base/src/files/install/mysql/bin/db_upgrade.sh +++ b/packages/base/src/files/install/mysql/bin/db_upgrade.sh @@ -124,12 +124,8 @@ function check_directory # MAIN #check_directory -if [ -z ${POLICY_LOGS} ]; then - POLICY_LOGS=/var/log/onap -fi -mkdir -p $POLICY_LOGS/policy/db -LOG=$POLICY_LOGS/policy/db/db_upgrade_$DATE.log -ERR=$POLICY_LOGS/policy/db/db_upgrade_$DATE.err +LOG=$POLICY_HOME/logs/db_upgrade_$DATE.log +ERR=$POLICY_HOME/logs/db_upgrade_$DATE.err echo "db_upgrade.sh started ..." | tee -a $LOG if [ $# -eq 3 ]; then TARGET_RELEASE="${1}" |