I have xnode on linux and my debug.log was increased to 16Gb till server has down. I don't find command to switch off this log. How?
WoW
![Shocked](https://bitcointalk.org/Smileys/default/shocked.gif)
debug.log is just a log file you can delete it!
Of course, only if you have an access to server every day.
three possibilities.
1. use -printtoconsole=1 on startup
or
printoconsole=1 in hexxcoin.conf
this will funnel all data onto the console rather than debug.log
2. you could do a cronjob regularly to wipe it
0 * * * * echo '' > /wherever/.hexxcoin/debug.log
3. funnel the data to oblivion,
cd /wherever/.hexxcoin
rm -f debug.log && ln -s /dev/null debug.log
-- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- --
anyone have any recommendations to reduce cpu usage?
this is particularly for a daemon hosting a remote xnode.
it generally sits around 100% .
edit.
lolz now it's using less than 3% and prev was over 100%,
only thing i did was
setup cronjob to hourly wipe debug.log
and
start it up with -disablewallet
then shut it down,
and restart normally again.
it might be that usage builds up over time? and will peak again in a few hours??