Logging level on proxmox-backup-manager jobs

jonathan.young

Well-Known Member
Apr 26, 2020
35
2
48
59
Following this thread PVE Logging, I have changed PBS_LOG by adding
Code:
[Service]
Environment="PBS_LOG=error"
proxmox-backup.service and proxmox-backup-proxy.service because my system ssd writes were so high just logging and murdering my ssd. This works great except that when I run proxmox-backup-manager tasks (e.g. "proxmox-backup-manager garbage-collection start raid1" ), I get no output apart from "TASK OK" when the job is done.

I have tried adding the PBS_LOG the command line: "PBS_LOG=info proxmox-backup-manager garbage-collection start raid1" and also doing "export PBS_LOG=info" before running the command in a shell but there is no change.

What I would like is to be able to suppress the logging most of the time (as I have already done) but when I specify to enable logging for tasks that I run. From the documentation, it seems that proxmox-backup-client is capable of this but proxmox-backup-manager isn't. Can anypne help?