[Suggestion] Colors in debug output #125

Closed
opened 2018-12-25 16:38:34 +00:00 by patricko · 5 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
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.
Author

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

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

I've got a patch coming for this to start the ball rolling ...

EDIT: Please see witten/borgmatic#164.

I've got a patch coming for this to start the ball rolling ... EDIT: Please see https://projects.torsion.org/witten/borgmatic/pulls/164.
Owner

So now that #164 is merged, the question is what exactly remains to satisfy this ticket?

So now that #164 is merged, the question is what exactly remains to satisfy this ticket?
Owner

Closing due to inactivity, but please feel free to file a new ticket with specific additions!

Closing due to inactivity, but please feel free to file a new ticket with specific additions!
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#125
No description provided.