[pbs-devel] [PATCH proxmox-backup 0/4] improve push sync job log messages
Gabriel Goller
g.goller at proxmox.com
Thu Nov 21 18:04:03 CET 2024
On 21.11.2024 17:26, Christian Ebner wrote:
>On 11/21/24 17:06, Gabriel Goller wrote:
>>I think I'd be nice if we use `.context()` instead of `format_err` and
>>debug print ("{err:?}") instead of default ("{}") here. As these
>>messages are all errors they shouldn't appear too often in the log and
>>if an error happens, you get much more information.
>>
>>What do you think?
>
>Hmm, can check that out, but wouldn't that disrupt the single line
>character of the log entries, prefixed by the time stamp?
We could use "{err:#}", which will print everything in one line?
Although on the other hand, I'd understand if you want to have strict
control over what is displayed to the users, so no hard feelings on
this one.
More information about the pbs-devel
mailing list