From eb308136836ccbe64bbaf143ef67330e72a5010e Mon Sep 17 00:00:00 2001 From: Ivan Bazulic Date: Wed, 31 Aug 2022 17:27:41 +0200 Subject: [PATCH] task: remove obsolete logrotate.conf file (PROJQUAY-4364) (#1500) Removes the obsolete `logrotate.conf` file which was used in Quay 2.9 and below when nginx logs were stored under `/var/log/nginx` inside the container instead of being redirected to `/dev/stdout`. This file is no longer needed. --- conf/init/logrotate.conf | 42 ---------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 conf/init/logrotate.conf diff --git a/conf/init/logrotate.conf b/conf/init/logrotate.conf deleted file mode 100644 index bdd2033bc..000000000 --- a/conf/init/logrotate.conf +++ /dev/null @@ -1,42 +0,0 @@ -# -# This file exists because of a bug in phusion/baseimage:0.9.19 where the su -# directive below is configured to use the nonexistant syslog user. -# - - -# see "man logrotate" for details -# rotate log files weekly -weekly - -# use the syslog group by default, since this is the owning group -# of /var/log/syslog. -su root root - -# keep 4 weeks worth of backlogs -rotate 4 - -# create new (empty) log files after rotating old ones -create - -# uncomment this if you want your log files compressed -#compress - -# packages drop log rotation information into this directory -include /etc/logrotate.d - -# no packages own wtmp, or btmp -- we'll rotate them here -/var/log/wtmp { - missingok - monthly - create 0664 root utmp - rotate 1 -} - -/var/log/btmp { - missingok - monthly - create 0660 root utmp - rotate 1 -} - -# system-specific logs may be configured here