Changes between Version 2 and Version 3 of LogRotate
- Timestamp:
- Apr 27, 2007, 8:56:19 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LogRotate
v2 v3 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 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.phpstopped].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 [StartTool stopped]. 6 6 7 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 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.phpconfig.xml].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 [ProjectConfigFile config.xml]. 10 10 11 11 {{{