Changes between Version 1 and Version 2 of LogRotate


Ignore:
Timestamp:
Apr 24, 2007, 7:20:21 PM (17 years ago)
Author:
Nicolas
Comment:

Required manual changes to automatic script formatting. That means removing two silly spaces! Script is improving :)

Legend:

Unmodified
Added
Removed
Modified
  • LogRotate

    v1 v2  
    11= Log rotation =
    22
    3       The log files generated by BOINC's daemons and servers can grow to gigabyte size in a few days or weeks, and will eventually fill up your disk. When this happens your project will grind to a halt. In addition, if you use db_dump to export statistics, directories with names of the form '''html/stats_2006_4_3_15_50_2''' will build up, and you'll need to delete and possibly archive them. Most projects do this manually.
     3The log files generated by BOINC's daemons and servers can grow to gigabyte size in a few days or weeks, and will eventually fill up your disk. When this happens your project will grind to a halt. In addition, if you use db_dump to export statistics, directories with names of the form '''html/stats_2006_4_3_15_50_2''' will build up, and you'll need to delete and possibly archive them. Most projects do this manually.
    44
    55Initially 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 [http://boinc.berkeley.edu/tool_start.php stopped].
     
    88
    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 [http://boinc.berkeley.edu/configuration.php config.xml].
    10 
    1110
    1211{{{