[pbs-devel] [PATCH vma-to-pbs v5 3/4] use level-based logging instead of println

Filip Schauer f.schauer at proxmox.com
Wed Nov 13 17:02:57 CET 2024


On 13/11/2024 12:41, Shannon Sterz wrote:
>> -                        // Skip the backup, since it does not match the specified vmid
>> +                        log::debug!(
>> +                            "Skip backup with VMID {}, since it does not match specified VMID {}",
>> +                            backup_id,
>> +                            vmid
> nit: you can use format strings here

I could, but then the line would exceed the 100 character limit and I
would rather not split the string over multiple lines.





More information about the pbs-devel mailing list