#125 [Suggestion] Colors in debug output

Open
opened 1 month ago by patrick_stronn · 2 comments

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

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
witten commented 1 month ago
Owner

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.

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.
patrick_stronn commented 1 month ago
Poster

Yes, I realized the output is from borg for the most part

Yes, I realized the output is from borg for the most part
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.