Small suggestion for default "echo date" #127
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#127
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace the default echo date by this
echo "[
date +"%e/%m/%Y | %^A | %H:%M:%S"
](try it in your terminal)
Feel free to add it or close the issue :P
I'm not sure where you're talking about.. Can you clarify? For instance, I see that there's a hooks example in the schema (and therefore in the generated config) with things like:
echo "
date
- Starting a backup job.".. But that's just an example. Is that what you're referring to?
And what's your motivation in suggesting the altered format? Thanks.
yes, that's for this part and the idea is to make it more readable but as you wish
Yeah, I think the ultimate solution is to implement real logging as per #53. That way we'd get full timestamp configuration support of whatever logging solution is used. And then perhaps even removing the
date
portion of these example echos.Feel free to change the default borgmatic with my version of date or not, closing the issue
I went ahead and just removed the date echo entirely so as to sidestep the issue. I think that #53 (actual logging) will be the "real" solution.
I think you should delete it only when it's being replaced but fine :D