mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Tail different log types
This commit is contained in:
parent
f06bdd347a
commit
ed20d55f29
@ -112,8 +112,12 @@ function push_gs {
|
||||
# Logging Functions
|
||||
## Check Log Function
|
||||
function logs_gs {
|
||||
echo -e "These are the last three valid PULL timestamps"
|
||||
tail -n 3 ${SYNCING_LOG}
|
||||
echo -e "Last few PULL attempts"
|
||||
tail -n 10 ${SYNCING_LOG} | grep PULL
|
||||
echo -e "Last few PULL attempts"
|
||||
tail -n 10 ${SYNCING_LOG} | grep PUSH
|
||||
echo -e "Last few UPDATE attempts"
|
||||
tail -n 10 ${SYNCING_LOG} | grep UPDATE
|
||||
}
|
||||
|
||||
## Log Out
|
||||
|
Loading…
Reference in New Issue
Block a user