diff options
author | Chou, Joseph (JC2555) <jc2555@att.com> | 2018-03-28 13:46:11 -0400 |
---|---|---|
committer | Chou, Joseph (JC2555) <jc2555@att.com> | 2018-03-28 13:50:53 -0400 |
commit | 5cd57949604803a32bd3a19c183eadf11f0ab900 (patch) | |
tree | f6799447752240bd654f337d5f66c397fd5fe3c4 /packages/base/src/files/install/mysql/bin/db_restore_data.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_restore_data.sh')
-rw-r--r-- | packages/base/src/files/install/mysql/bin/db_restore_data.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/base/src/files/install/mysql/bin/db_restore_data.sh b/packages/base/src/files/install/mysql/bin/db_restore_data.sh index ec0874a67..c4fec027f 100644 --- a/packages/base/src/files/install/mysql/bin/db_restore_data.sh +++ b/packages/base/src/files/install/mysql/bin/db_restore_data.sh @@ -40,8 +40,6 @@ BACKUP_FILE="" DATABASE="" TABLE="" TEMP_FILE=/tmp/db_restore_data_$$.sql -DATE=`date +"%Y%m%d"` -LOG="" function restore_all { @@ -87,11 +85,6 @@ if [ $# -eq 5 ]; then typeset -l DATABASE="${4}" typeset -l TABLE="${5}" echo "DB_USER: $DB_USER" - if [ -z ${POLICY_LOGS} ]; then - POLICY_LOGS=/var/log/onap - fi - mkdir -p $POLICY_LOGS/policy/db - LOG=$POLICY_LOGS/policy/db/db_restore_data_$DATE.log if [ -f $BACKUP_FILE ]; then if [ "${TABLE}" != "all" ]; then restore_table ${DATABASE} ${TABLE} |