M Mikus Member Apr 13, 2018 23 5 23 49 Mar 4, 2021 #1 Is it possible to configure the size of Proxmox VE task logs, stored in /var/log/pve/task? I wish to have 1-year long history. Thanks!
Is it possible to configure the size of Proxmox VE task logs, stored in /var/log/pve/task? I wish to have 1-year long history. Thanks!
dylanw Proxmox Retired Staff Retired Staff Jul 6, 2020 373 99 28 Mar 5, 2021 #2 You could try adding a new log rotation setting to /etc/logrotate.d/ for the logs [1]. You could also consider regularly backing up your log files so that they're accessible. [1] https://manpages.debian.org/stretch/logrotate/logrotate.8.en.html
You could try adding a new log rotation setting to /etc/logrotate.d/ for the logs [1]. You could also consider regularly backing up your log files so that they're accessible. [1] https://manpages.debian.org/stretch/logrotate/logrotate.8.en.html
D Dmitrius7 Member Oct 27, 2020 22 3 23 38 Jan 6, 2025 #3 Mikus said: Is it possible to configure the size of Proxmox VE task logs, stored in /var/log/pve/task? I wish to have 1-year long history. Thanks! Click to expand... I was looking for the same thing, but I didn't find it. I have created a script that changes the number of 20,000 records (about 1 year of task history) using cron. My post here https://forum.proxmox.com/threads/task-log-retention.133758/post-736123
Mikus said: Is it possible to configure the size of Proxmox VE task logs, stored in /var/log/pve/task? I wish to have 1-year long history. Thanks! Click to expand... I was looking for the same thing, but I didn't find it. I have created a script that changes the number of 20,000 records (about 1 year of task history) using cron. My post here https://forum.proxmox.com/threads/task-log-retention.133758/post-736123