Validate log export

This commit is contained in:
Michael Stanclift 2020-06-02 11:55:35 -05:00
parent e45fde8e8a
commit cf7bc4a798
2 changed files with 5 additions and 4 deletions

View File

@ -22,6 +22,7 @@
- Less chatty about replication validation if it's not necessary. - Less chatty about replication validation if it's not necessary.
- Less chatty about file validation if no changes are required. - Less chatty about file validation if no changes are required.
- When applying `update` in DEV mode, the Git branch used will be shown. - When applying `update` in DEV mode, the Git branch used will be shown.
- Validates log export operation
#### 1.7.6 #### 1.7.6
- Detects `dbclient` install as alternative to OpenSSH Client. - Detects `dbclient` install as alternative to OpenSSH Client.

View File

@ -473,10 +473,10 @@ function restore_gs {
## Core Logging ## Core Logging
### Write Logs Out ### Write Logs Out
function logs_export { function logs_export {
MESSAGE="Logging Timestamps to ${SYNCING_LOG}" MESSAGE="Logging Successful ${TASKTYPE}"
echo_info echo_stat
echo -e $(date) "[${TASKTYPE}]" >> ${LOG_PATH}/${SYNCING_LOG}
echo -e $(date) "[${TASKTYPE}]" >> ${LOG_PATH}/${SYNCING_LOG} error_validate
} }
### Output Sync Logs ### Output Sync Logs