Author

Topic: Any way to purge the log.000xxxx files in the database folder? (Read 1236 times)

sr. member
Activity: 392
Merit: 250
Ok, well I went ahead and deleted all those log files except for the last one, and everything seems fine after running the client for like an hour.
sr. member
Activity: 266
Merit: 250
Simply deleting them is fine, just make sure you exit the client first.
Last time I did that (on my empty wallet) the bitcoin client kept crashing when I relaunched it (ran for a few minutes then crash), and I eventually had to wipe out the whole blockchain and start over. Are you really sure I can delete all those files, or do you mean the old ones that haven't been modified for at least a week?

Someone else would have to confirm the technicalities, but I've never had any crash problems deleting log files, or any files other than the blockchain+wallet in fact.
sr. member
Activity: 392
Merit: 250
Simply deleting them is fine, just make sure you exit the client first.
Last time I did that (on my empty wallet) the bitcoin client kept crashing when I relaunched it (ran for a few minutes then crash), and I eventually had to wipe out the whole blockchain and start over. Are you really sure I can delete all those files, or do you mean the old ones that haven't been modified for at least a week?
sr. member
Activity: 266
Merit: 250
Simply deleting them is fine, just make sure you exit the client first.
sr. member
Activity: 392
Merit: 250
Well, yeah, restarting the client removes a few files, but some (for a total of around 80 MB) are staying. The most weird thing is that the bitcoin client doesn't even seem to use them anymore (their last modification dates range from 1 month to a few days).
legendary
Activity: 1204
Merit: 1015
Restarting your client from time to time will trim the size down. It's only an issue if you leave your client online for weeks.
sr. member
Activity: 392
Merit: 250
Hi,

I recently noticed that the log files contained in the database (%appdata%/Bitcoin/database) folder don't seem to get purged properly. The only things I found about this is https://en.bitcoin.it/wiki/Data_directory#Subdirectories and https://bitcointalksearch.org/topic/whats-a-typical-bitcoin-install-size-i-have-500mb-of-logxxxxxxx-files-20298 . The strange thing is that I'm regularly switching between 2 wallets, every time switching the whole content of %appdata%/Bitcoin, and both don't have the same amount of files in %appdata%/Bitcoin/database. Is there any way to purge that folder? I mean, apart from wiping everything but the wallet? Not that that database folder is huge (yet), but I'm worrying about it growing indefinitely...

Thanks
Jump to: