"Fossies" - the Fresh Open Source Software Archive

Member "logrotate-3.18.1/examples/logrotate.conf" (16 Apr 2021, 493 Bytes) of package /linux/privat/logrotate-3.18.1.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "logrotate.conf": 3.18.0_vs_3.18.1.

    1 # see "man logrotate" for details
    2 
    3 # global options do not affect preceding include directives
    4 
    5 # rotate log files weekly
    6 weekly
    7 
    8 # keep 4 weeks worth of backlogs
    9 rotate 4
   10 
   11 # create new (empty) log files after rotating old ones
   12 create
   13 
   14 # use date as a suffix of the rotated file
   15 dateext
   16 
   17 # uncomment this if you want your log files compressed
   18 #compress
   19 
   20 # packages drop log rotation information into this directory
   21 include /etc/logrotate.d
   22 
   23 # system-specific logs may also be configured here.