[Suggestion] Colors in debug output #125
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#125
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?
Add colors in debug output.
Red, green, yellow, blue
Maybe in yellow when borgmatic starts taking a backup
and in red when there is an error
If I have more ideas I'll try but I'm combining it with xtrabackup it doesn't help much visibility lol
Implementation note: Today, much of the Borg info or debug output is sent directly to stdout or stderr. So in order to colorize it, we'd have to capture the Borg output, apply color to it, and then output it.
Yes, I realized the output is from borg for the most part
I've got a patch coming for this to start the ball rolling ...
EDIT: Please see witten/borgmatic#164.
So now that #164 is merged, the question is what exactly remains to satisfy this ticket?
Closing due to inactivity, but please feel free to file a new ticket with specific additions!