debug logging?

mo_

Active Member
Oct 27, 2011
401
6
38
Germany
Hi,

I was wondering whether theres a way to get the task log to save the FULL command that it tried to execute, regardless of whether it succeeded or failed.

One example: somebody else saw this:

TASK ERROR: create failed - rbd create vm-109-disk-1' error: rbd: create error: (22) Invalid argument

Now, clearly this is not the full command, its missing -m [mon-addr] --pool and --size, if not even -c and --keyring/--keyfile

So... is it possible to encourage the task log to save the FULL command?

PS: this is more of an experimental thing, so I would be totally fine with modifying the corresponding perl code.
 

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!