-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
log output 1.0.x client -> 1.1.0 server #3195
Comments
1.0 client supports these server log line formats:
1.1 client supports these:
|
https://github.com/borgbackup/borg/blob/1.1.0/src/borg/logger.py#L92 there it includes the logname. Hmm, as the server will talk json to any recent 1.1 client, just use the simpler format without logname for the non-json case? @enkore |
…gbackup#3195 1.0 clients do not understand this format, so it is just output to screen, which is unexpected. 1.1 (>= 1.1.0b6) clients will get json from server, so it is not needed for them either.
Should work. That's effectively another beta/RC format. |
another issue: this is progress log output, so it should not be output at all (except with --progress). problem: borg does not pass --progress to server, so the server can't suppress it based on that. so, the client would have to suppress it (which works fine in 1.1, but not 1.0). the only way the client could suppress it (except running on WARNING level) is if the client knows the logger name. so, rather support the $LOG format with logger name for future borg? wouldn't help for past 1.0 clients though. |
removing from milestone, this problem solves automatically as people upgrade to 1.1.x. |
Same for 1.0.11 client.
The unusual
borg.output.progress
at the left is the logname included by the server and unexpected to show up there for a 1.0 client.The text was updated successfully, but these errors were encountered: