feat: Increase log verbosity
This commit is contained in:
parent
2bf83b6ddb
commit
119e339e29
@ -119,6 +119,8 @@ __iter=1 # iterator
|
|||||||
# Startup log.
|
# Startup log.
|
||||||
date +'Start: %d %b %Y %T %z'
|
date +'Start: %d %b %Y %T %z'
|
||||||
log "Backup STARTED"
|
log "Backup STARTED"
|
||||||
|
log -p "Library path: $LIBRARY"
|
||||||
|
log -p "Log file: $__log_file"
|
||||||
log -p "Configuration file: $([ "$__config" ] || echo not specified && echo "$__config")"
|
log -p "Configuration file: $([ "$__config" ] || echo not specified && echo "$__config")"
|
||||||
log "Scripts to process (${__count}): ${__args[@]}"
|
log "Scripts to process (${__count}): ${__args[@]}"
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ handler::cp() {
|
|||||||
|
|
||||||
if [[ "$uri" == "$__main_target" ]]; then
|
if [[ "$uri" == "$__main_target" ]]; then
|
||||||
: # Do nothing. Source and destination is the same
|
: # Do nothing. Source and destination is the same
|
||||||
|
log "Nothing to do: Source and destination is the same: $__main_target"
|
||||||
else
|
else
|
||||||
# Copy backups to another destination
|
# Copy backups to another destination
|
||||||
parse_uri "$uri"
|
parse_uri "$uri"
|
||||||
|
Loading…
Reference in New Issue
Block a user