Title: debug.log getting bigger Post by: Belkaar on May 19, 2011, 08:53:32 PM Hi there,
is there a possibility to get bitcoind to not write that much (anything) to debug.log? It gets kinda big. Thanks Title: Re: debug.log getting bigger Post by: xf2_org on May 20, 2011, 12:08:27 AM There is one pull request along those lines. Title: Re: debug.log getting bigger Post by: theymos on May 20, 2011, 02:00:55 AM Bitcoin will truncate debug.log when you restart it.
Title: Re: debug.log getting bigger Post by: Vladimir on May 22, 2011, 10:04:39 AM I wish there was some command line option which would make bitcoind sending logs to stout or stderr instead of that stupid debug.log file.
Title: Re: debug.log getting bigger Post by: xf2_org on May 22, 2011, 04:18:08 PM Bitcoin will truncate debug.log when you restart it. eh? No, it does not truncate debug.log at startup. Title: Re: debug.log getting bigger Post by: xf2_org on May 22, 2011, 04:18:25 PM I wish there was some command line option which would make bitcoind sending logs to stout or stderr instead of that stupid debug.log file. Open an issue at github, this is a reasonable request. Title: Re: debug.log getting bigger Post by: theymos on May 22, 2011, 07:06:50 PM eh? No, it does not truncate debug.log at startup. util.cpp: Code: void ShrinkDebugFile() init.cpp (at startup, just before writing the debug.log "header"): Code: if (!fDebug && !pszSetDataDir[0]) This feature actually annoys me, since I like to archive my debug.log. (I've disabled it on mine.) |