proxmox-backup-client task log command outputs to STDERR

Nov 29, 2020
6
1
8
32
I've noticed that since updating to proxmox-backup-client 2.3.1-1 that the command: proxmox-backup-client task log <UPID> --repository <user>@<PBS IP address>:<datastore> no longer outputs to STDOUT. I've found that I now need to add 2>&1 after the command to redirect the output from stderr to stdout in order for it to work in my backup script (can't pipe or run the command in a variable without 2>&1 because of this). This seems strange that it outputs to stderr when looking at a log file, is this a mistake or by design?

Should I be making a bug report? If so, where should I look to make that report?
 
mhmm i cannot imagine why we would want that output on stderr... if you want you can open a bug report on https://bugzilla.proxmox.com
(but maybe i don't know all the details and it makes sense somehow?)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!