Auto-remove logs, and decrease logfile size to 10M #1007

pull gavinandresen wants to merge 1 commits into bitcoin:master from gavinandresen:log_auto_remove changing 1 files +3 −2
  1. gavinandresen commented at 1:08 PM on March 29, 2012: contributor

    This is an alternative to pull #1004 , to fix part of bug #999

    Tested by doing a complete blockchain download and observing the number of log files every 2 minutes (see https://gist.github.com/2236954 -- maximum of 5 were created).

    Removing log files before shutdown does make 'catastrophic database recovery' impossible, however catastrophic recovery is only possible if you have ALL of the log files available (all since the creation of the database), so the only situation in which that is an issue would be a brand-new user running Bitcoin for the first time and then suffering a disk-corrupting failure before they shutdown.

  2. Auto-remove logs, and decrease logfile size to 10M 9f18347034
  3. jgarzik commented at 1:52 PM on March 29, 2012: contributor

    ACK

  4. laanwj commented at 3:23 PM on March 29, 2012: member

    ACK

  5. gavinandresen referenced this in commit 83e914c1d5 on Mar 29, 2012
  6. gavinandresen merged this on Mar 29, 2012
  7. gavinandresen closed this on Mar 29, 2012

  8. coblee referenced this in commit 8af3249aed on Jul 17, 2012
  9. suprnurd referenced this in commit 8641ae189b on Dec 5, 2017
  10. ptschip referenced this in commit f89ee412fd on Apr 5, 2018
  11. lateminer referenced this in commit 39e8a03505 on Oct 30, 2019
  12. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me