logrotate - Log rotation utility

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name logrotate
Package version 3.8.7
Package release 1+b1
Package architecture amd64
Package type deb
Installed size 91 B
Download size 51.01 KB
Official Mirror ftp.br.debian.org
The logrotate utility is designed to simplify the administration of
log files on a system which generates a lot of log files.  Logrotate
allows for the automatic rotation compression, removal and mailing of
log files.  Logrotate can be set to handle a log file daily, weekly,
monthly or when the log file gets to a certain size.  Normally, logrotate
runs as a daily cron job.


Package Version Architecture Repository
logrotate_3.8.7-1+b1_i386.deb 3.8.7 i386 Debian Main
logrotate - - -


Name Value
anacron -
base-passwd >=
cron -
cron-daemon -
libacl1 >= 2.2.51-8
libc6 >= 2.14
libpopt0 >= 1.14
libselinux1 >= 1.32


Type URL
Binary Package logrotate_3.8.7-1+b1_amd64.deb
Source Package logrotate

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install logrotate deb package:
    # sudo apt-get install logrotate




2014-01-17 - Paul Martin <pm@debian.org>
logrotate (3.8.7-1) unstable; urgency=low
* New patch:
- man-su-explanation-729315.patch: Explain how "su" may conflict with
"create". (Closes: #729315)
* New upstream release
- Fix to forcing size-based rotations. (Closes: #714910)
* Bump standards version to 3.9.5. (No changes needed.)
2013-09-03 - Paul Martin <pm@debian.org>
logrotate (3.8.6-1) unstable; urgency=low
* New upstream release
- logrotate crashes with sharedscripts when no logs are rotated.
- Fix potential buffer overflow in parsing config.
* New patch:
- mktime-718332.patch: Fix incorrectly initialized struct tm causing
extra rotations. (Closes: #718332)
2013-06-26 - Paul Martin <pm@debian.org>
logrotate (3.8.5-1) unstable; urgency=low
* New upstream release
+ Check for both possible orders of script output in tests.
(Closes: #707526)
+ If logrotate state file is corrupted, fail with error.
+ Make logrotate state file creation atomic. (Closes: #707526)
+ Add fsync during log copytruncate and gzip+unlink.
+ Allow 'hourly' rotation.
+ Do not try to parse big (16+ MB) config files.
* Debian patches merged upstream:
- dst.patch
- man-startcount.patch
- man-compressext-576362.patch
- asprintf-fixes.patch
- makefile-test-cleanup.patch
- manpage-hyphens.patch
- acl-nosys-706050.patch
- size-longlong-706460.patch
- timetraveller-704950.patch
2013-04-30 - Paul Martin <pm@debian.org>
logrotate (3.8.3-5) unstable; urgency=low
* New patches:
+ timetraveller-704950.patch: don't complain if the local time has changed
such that the last rotation was in the "future" if the change is less
than 25 hours. This allows for timezone shifts for travellers.
(Closes: #704950) Please note that logrotate should not be relied upon
if you are using a TARDIS.
+ size-longlong-706460.patch: Parse the number in the size/minsize/maxsize
as an unsigned long long instead of just an unsigned long. For those who
like to write their multigigabyte values in bytes. (Closes: #706460)
* Update standards version to 3.9.4. (No changes needed.)
2013-04-24 - Paul Martin <pm@debian.org>
logrotate (3.8.3-4) experimental; urgency=low
* Accommodate cross-building and "nocheck". (Closes: #694835)
* Accommodate ext3 filesystem returning wrong error if ACL is disabled.
(Closes: #706050)
* Replace patches/acl-tests.patch with the ones from upstream SVN, as
patches/rh391-acl-test.patch, rh394-acl-tests.patch, rh397-acl-tests.patch
* Replace patches/configparse.patch with upstream's rh401-tabooextloop.patch
* Imported from upstream SVN:
+ patch/rh390-version.patch: Add --version option.
+ patch/rh392-skip-errors.patch: Fixed bug which prevented skipping
particular log file config if the config contains errors
+ patch/rh393-kilo.patch: Allow both 'k' and 'K' in size.
+ patch/rh395-action-error-skip.patch: Fixed skipping of configs 
containing firstaction/lastaction in case of error before these 
+ patch/rh396-changes.patch: update to CHANGES file 
+ patch/rh398-preremove.patch: new option "preremove"
+ patch/rh399-leakedfds.patch: Close leaked fds
+ patch/rh400-install.patch: Add INSTALL file
+ patch/rh402-selinux-compress-context.patch: set SELinux context before
compressLogFile calls to create compressed log files with proper context
+ patch/rh403-prepostrotate.patch: Call prerotate/postrotate script only
for really rotated files (Closes: #652971)
- patches/sharedscripts-519432.patch: removed
2012-10-16 - Paul Martin <pm@debian.org>
logrotate (3.8.3-3) unstable; urgency=low
* Remove acl from Build-Depends. Buildd servers don't support ACLs
on their filing systems.
* patches/acl-tests.patch.: disable ACL tests if setfacl is not present
or doesn't work.

See Also

Package Description
logstalgia_1.0.6-1_amd64.deb web server access log visualizer
logster_0.0.1-2_all.deb Generate metrics from logfiles for Graphite and Ganglia
logtail_1.3.17_all.deb Print log file lines that have not been read
logtool_1.2.8-8_amd64.deb Syslog-style logfile parser with lots of output options
logtools_0.13d_amd64.deb Russell's misc tools for managing log files
logtop_0.4.3-1_amd64.deb real time log line rate analyzer
logwatch_7.4.1-2_all.deb log analyser with nice output written in Perl
lojban-common_1.5+dfsg.1-2_all.deb commonly-used wordlists for the Lojban language
lokalize_4.13.3-1_amd64.deb computer-aided translation system
loki-doc_2.4.7.4-5_all.deb MCMC linkage analysis on general pedigrees (PS manual)
loki_2.4.7.4-5_amd64.deb MCMC linkage analysis on general pedigrees
lolcat_42.0.99-1_all.deb colorful `cat`
lomoco_1.0.0-1_amd64.deb Logitech Mouse Control for USB mice
londonlaw_0.2.1-18_all.deb Scotland Yard board game with network support
lookup-el_1.4.1-13_all.deb emacsen interface to electronic dictionaries