Changes between Version 1 and Version 2 of LogRotate
- Timestamp:
- Apr 24, 2007, 7:20:21 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LogRotate
v1 v2 1 1 = Log rotation = 2 2 3 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. 4 4 5 5 Initially 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]. … … 8 8 9 9 Here'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 11 10 12 11 {{{