File manager - Edit - /var/www/payraty/helpdesk/public/storage/branding_media/images/logrotate.d.tar
Back
alternatives 0000644 00000000170 00000000000 0007127 0 ustar 00 /var/log/alternatives.log { monthly rotate 12 compress delaycompress missingok notifempty create 644 root root } certbot 0000644 00000000122 00000000000 0006065 0 ustar 00 /var/log/letsencrypt/*.log { rotate 12 weekly compress missingok } btmp 0000644 00000000202 00000000000 0005364 0 ustar 00 # no packages own btmp -- we'll rotate it here /var/log/btmp { missingok monthly create 0660 root utmp rotate 1 } dpkg 0000644 00000000160 00000000000 0005352 0 ustar 00 /var/log/dpkg.log { monthly rotate 12 compress delaycompress missingok notifempty create 644 root root } cloud-init 0000644 00000000220 00000000000 0006471 0 ustar 00 /var/log/cloud-init*.log { su root root missingok nocreate notifempty rotate 6 compress delaycompress size 1M } wtmp 0000644 00000000221 00000000000 0005412 0 ustar 00 # no packages own wtmp -- we'll rotate it here /var/log/wtmp { missingok monthly create 0664 root utmp minsize 1M rotate 1 } apt 0000644 00000000255 00000000000 0005216 0 ustar 00 /var/log/apt/term.log { rotate 12 monthly compress missingok notifempty } /var/log/apt/history.log { rotate 12 monthly compress missingok notifempty } ubuntu-pro-client 0000644 00000000416 00000000000 0010025 0 ustar 00 # use the root group by default, since this is the owning group # of /var/log/ubuntu-advantage*.log files. /var/log/ubuntu-advantage*.log { su root root create 0644 root root rotate 6 monthly compress delaycompress missingok notifempty } chrony 0000644 00000000240 00000000000 0005726 0 ustar 00 /var/log/chrony/*.log { missingok nocreate sharedscripts postrotate /usr/bin/chronyc cyclelogs > /dev/null 2>&1 || true endscript } bootlog 0000644 00000000133 00000000000 0006072 0 ustar 00 /var/log/boot.log { missingok daily copytruncate rotate 7 notifempty } unattended-upgrades 0000644 00000000353 00000000000 0010374 0 ustar 00 /var/log/unattended-upgrades/unattended-upgrades.log /var/log/unattended-upgrades/unattended-upgrades-dpkg.log /var/log/unattended-upgrades/unattended-upgrades-shutdown.log { rotate 6 monthly compress missingok notifempty } ufw 0000644 00000000321 00000000000 0005225 0 ustar 00 /var/log/ufw.log { rotate 4 weekly missingok notifempty compress delaycompress sharedscripts postrotate [ -x /usr/lib/rsyslog/rsyslog-rotate ] && /usr/lib/rsyslog/rsyslog-rotate || true endscript } mysql-server 0000644 00000002057 00000000000 0007105 0 ustar 00 # Flush all mysql server logs together using mysqladmin flush-logs. # mysqld must be active for the script to run successfully. /var/log/mysql.log /var/log/mysql/*log { daily rotate 7 missingok create 640 mysql adm su mysql adm compress sharedscripts postrotate # Confirm that the mysql service is running and that mysqladmin # exists as it is needed for flushing logs. If not, ignore this # rotation as mysql-server has likely been removed or is inactive. systemctl is-active --quiet mysql || exit 0 test -x /usr/bin/mysqladmin || exit 0 # Run mysqladmin using the debian.cnf configuration to rotate logs. MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" # Ping mysqld to confirm it is responsive, which is required for flushing. $MYADMIN ping >/dev/null 2>&1 PING_STATUS_CODE=$? if [ "${PING_STATUS_CODE}" -eq "0" ]; then # Flush all server logs. $MYADMIN flush-logs else # The server is down, or debian.cnf is bad. Return error to show # that the logs could not be flushed. exit 1 fi endscript } vsftpd 0000644 00000000176 00000000000 0005742 0 ustar 00 /var/log/vsftpd.log { create 640 root adm # ftpd doesn't handle SIGHUP properly missingok notifempty rotate 4 weekly } rsyslog 0000644 00000000566 00000000000 0006141 0 ustar 00 /var/log/syslog /var/log/mail.info /var/log/mail.warn /var/log/mail.err /var/log/mail.log /var/log/daemon.log /var/log/kern.log /var/log/auth.log /var/log/user.log /var/log/lpr.log /var/log/cron.log /var/log/debug /var/log/messages { rotate 4 weekly missingok notifempty compress delaycompress sharedscripts postrotate /usr/lib/rsyslog/rsyslog-rotate endscript } apport 0000644 00000000176 00000000000 0005741 0 ustar 00 /var/log/apport.log { daily rotate 7 delaycompress compress notifempty missingok } apache2 0000644 00000000661 00000000000 0005736 0 ustar 00 /var/log/apache2/*.log { daily missingok rotate 14 compress delaycompress notifempty create 640 root adm sharedscripts prerotate if [ -d /etc/logrotate.d/httpd-prerotate ]; then run-parts /etc/logrotate.d/httpd-prerotate fi endscript postrotate if pgrep -f ^/usr/sbin/apache2 > /dev/null; then invoke-rc.d apache2 reload 2>&1 | logger -t apache2.logrotate fi endscript }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings