Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add option for debug log level in the Misc tab #282

Closed
wechsler42 opened this issue May 11, 2019 · 5 comments
Closed

Suggestion: Add option for debug log level in the Misc tab #282

wechsler42 opened this issue May 11, 2019 · 5 comments
Labels
status:idea Proposed feature, discuss if its useful

Comments

@wechsler42
Copy link

Is your feature request related to a problem? Please describe.
I would appreciate an easy way to set the log level of vorta/borg to "debug"

Describe the solution you'd like
Add a checkbox to the Misc tab of vorta:
Set log level to debug (very detailed logging , needs more disk space)

@wechsler42 wechsler42 changed the title Suggestion: Add option for debuglog in the Misc tab Suggestion: Add option for debug log level in the Misc tab May 11, 2019
@m3nu
Copy link
Contributor

m3nu commented May 11, 2019

Most borg commands are already run with the --debug-option enabled and these debug-messages are written to Vorta's log.

What information are you missing specifically?

@wechsler42
Copy link
Author

Thanks for the update,, so I did not know this.
Specifically I was missing some information on the repository check. So it was written that it started but nothing more. After a certain while I was wondering if it is stalled ot still working. When I do a repository check with borg on the CLI then I see there a note about how many percentages of the repository are already checked.

@m3nu
Copy link
Contributor

m3nu commented May 15, 2019

There should be some information displayed. We call it with the info log-level:

['borg', 'check', '--info', '--log-json']

Should look like this:

Screen Shot 2019-05-15 at 14 16 43

@wechsler42
Copy link
Author

wechsler42 commented May 15, 2019

Thanks m3nu for the feedback.
Well, it looks a bit different here (see the screenshot).
It stays with the message "INFO: Remote: Starting repository check" until the archive check is finished with "INFO: Archive consistency check complete, no problems found."
vorta_archive_check

@m3nu
Copy link
Contributor

m3nu commented May 15, 2019

borg check has 2 parts: repo check and archive check. You are correct, that there is no log output for the first repo check part, only for the second archive check (lists archives).

@m3nu m3nu added the type:enhancement Improvement of an existing function label Jul 21, 2019
@m3nu m3nu added status:idea Proposed feature, discuss if its useful and removed type:enhancement Improvement of an existing function labels May 29, 2020
@m3nu m3nu closed this as completed Feb 15, 2021
@borgbase borgbase locked and limited conversation to collaborators Feb 15, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
status:idea Proposed feature, discuss if its useful
Projects
None yet
Development

No branches or pull requests

2 participants