[php-maint] Bug#683415: php5-fpm: Please rotate /var/log/php5-fpm.log

Frank Chung chungf at gmail.com
Tue Jul 31 17:12:49 UTC 2012


Package: php5-fpm
Version: 5.4.4-2
Severity: serious
Justification: Policy 10.8

Dear Maintainer,

Please rotate the log file /var/log/php5-fpm.log. The
/etc/init.d/php5-fpm script already has the "reopen-logs" action, so
something like this in /etc/logrotate.d/php5-fpm will do:

/var/log/php5-fpm.log {
	rotate 12
	weekly
	missingok
	notifempty
	compress
	delaycompress
	postrotate
		invoke-rc.d php5-fpm reopen-logs > /dev/null
	endscript
}

Thanks,
Frank

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.4-trunk-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-fpm depends on:
ii  dpkg              1.16.4.3
ii  libbz2-1.0        1.0.6-3
ii  libc6             2.13-33
ii  libcomerr2        1.42.4-3
ii  libdb5.1          5.1.29-5
ii  libgssapi-krb5-2  1.10.1+dfsg-1
ii  libk5crypto3      1.10.1+dfsg-1
ii  libkrb5-3         1.10.1+dfsg-1
ii  libmagic1         5.11-2
ii  libonig2          5.9.1-1
ii  libpcre3          1:8.30-5
ii  libqdbm14         1.8.78-2
ii  libssl1.0.0       1.0.1c-3
ii  libxml2           2.8.0+dfsg1-4
ii  mime-support      3.52-1
ii  php5-common       5.4.4-2
ii  tzdata            2012c-1
ii  ucf               3.0025+nmu3
ii  zlib1g            1:1.2.7.dfsg-13

php5-fpm recommends no packages.

Versions of packages php5-fpm suggests:
pn  php-pear  <none>

-- no debconf information



More information about the pkg-php-maint mailing list