~ubuntu-branches/ubuntu/jaunty/logrotate/jaunty

« back to all changes in this revision

Viewing changes to debian/logrotate.conf

  • Committer: Bazaar Package Importer
  • Author(s): Paul Martin
  • Date: 2002-04-23 23:16:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020423231643-o46m2ctyu4csv62g
Tags: 3.5.9-8
* Added check to cron.daily (blatantly stolen from exim's) to only
  attempt to run logrotate if it's binary exists. (Closes: #144265)
* Priority high to ensure this minimal bugfix (a violation of a 
  "should" policy directive) gets into woody.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# see "man logrotate" for details
 
2
# rotate log files weekly
 
3
weekly
 
4
 
 
5
# keep 4 weeks worth of backlogs
 
6
rotate 4
 
7
 
 
8
# create new (empty) log files after rotating old ones
 
9
create
 
10
 
 
11
# uncomment this if you want your log files compressed
 
12
#compress
 
13
 
 
14
# packages drop log rotation information into this directory
 
15
include /etc/logrotate.d
 
16
 
 
17
# no packages own wtmp, or btmp -- we'll rotate them here
 
18
/var/log/wtmp {
 
19
    monthly
 
20
    create 0664 root utmp
 
21
    rotate 1
 
22
}
 
23
 
 
24
/var/log/btmp {
 
25
    missingok
 
26
    monthly
 
27
    create 0664 root utmp
 
28
    rotate 1
 
29
}
 
30
 
 
31
# system-specific logs may be configured here