Files
homelab-docs/docs/maintenance/logrotate/proxmox-host.conf

36 lines
883 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Базовые настройки для Proxmox host (192.168.1.150)
# 14 дней, max 100 MB на файл, 57 архивов, сжатие
#
# Вариант 1: встроить в /etc/logrotate.conf в секцию default:
# daily
# maxage 14
# size 100M
# rotate 6
# compress
# delaycompress
# missingok
# notifempty
#
# Вариант 2: положить этот файл как /etc/logrotate.d/99-proxmox.conf
# (применяется к перечисленным путям; пакетные конфиги имеют приоритет по имени)
/var/log/syslog
/var/log/messages
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/pve/tasks/active
/var/log/pve/tasks/index
{
daily
maxage 14
size 100M
rotate 6
compress
delaycompress
missingok
notifempty
sharedscripts
}