Changes between Version 5 and Version 6 of LogRotate


Ignore:
Timestamp:
Jul 3, 2008, 6:17:40 AM (16 years ago)
Author:
Eric Myers
Comment:

break into sections

Legend:

Unmodified
Added
Removed
Modified
  • LogRotate

    v5 v6  
     1[[TOC]]
    12= Log rotation =
    23
     
    56Initially you can deal with log files by hand, but eventually you may want an automated solution. Log rotation typically must be done while the project is [StartTool stopped].
    67
    7 (Note: Eric Myers wrote a detailed page about log rotation, which is [http://www.spy-hill.net/~myers/help/boinc/log_rotation.html here]).
    8 
     8== Log Compression ==
    99Here's a shell script (from Nicolas Alvarez) that tars and compresses log files (you'll still need to eventually deal with the compressed files). You can run this script as a periodic task in [ProjectConfigFile config.xml].
    1010
     
    2525}}}
    2626
     27
     28== {{{logrotate}}} ==
    2729Other projects use the Linux 'logrotate' program. For example, Predictor@home uses the following logrotate input file (they run this while the project is down for database backups):
    2830
     
    122124}
    123125}}}
     126
     127 
     128
     129== See Also ==
     130
     131   * [http://www.spy-hill.net/~myers/help/boinc/log_rotation.html  Log Rotation for BOINC projects] (from Eric Myers).