mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Validate log export
This commit is contained in:
parent
e45fde8e8a
commit
cf7bc4a798
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user