Bitcoin Forum
December 08, 2016, 10:09:58 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Any way to purge the log.000xxxx files in the database folder?  (Read 1048 times)
localhost
Sr. Member
****
Offline Offline

Activity: 389


View Profile
August 28, 2011, 10:23:51 AM
 #1

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://bitcointalk.org/index.php?topic=20298.0 . 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

-
1481234998
Hero Member
*
Offline Offline

Posts: 1481234998

View Profile Personal Message (Offline)

Ignore
1481234998
Reply with quote  #2

1481234998
Report to moderator
1481234998
Hero Member
*
Offline Offline

Posts: 1481234998

View Profile Personal Message (Offline)

Ignore
1481234998
Reply with quote  #2

1481234998
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481234998
Hero Member
*
Offline Offline

Posts: 1481234998

View Profile Personal Message (Offline)

Ignore
1481234998
Reply with quote  #2

1481234998
Report to moderator
Maged
Legendary
*
Offline Offline

Activity: 1260


View Profile
August 29, 2011, 04:38:11 AM
 #2

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.

localhost
Sr. Member
****
Offline Offline

Activity: 389


View Profile
August 29, 2011, 05:58:42 AM
 #3

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).

-
helloworld
Full Member
***
Offline Offline

Activity: 182


View Profile
August 29, 2011, 07:15:32 AM
 #4

Simply deleting them is fine, just make sure you exit the client first.

localhost
Sr. Member
****
Offline Offline

Activity: 389


View Profile
August 29, 2011, 07:28:12 AM
 #5

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?

-
helloworld
Full Member
***
Offline Offline

Activity: 182


View Profile
August 29, 2011, 07:34:14 AM
 #6

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.

localhost
Sr. Member
****
Offline Offline

Activity: 389


View Profile
August 29, 2011, 10:00:52 AM
 #7

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.

-
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!