I am having an issue with lag time in my scheduled searches of time. I am looking for all time of issues that may slow down my machines. One this I found was debug in the btool logs. How do I turn off that debug?
Generally btool only writes DEBUG to the btool.log when run with --debug. I don't think we do that out of the box.
All I can suggest is some kind of hacks monitoring who runs the btool executable and with what flags. A simplistic idea is like
# vi btool.sh #!/bin/bash echo "btool $$ run with args $@" >> /tmp/silly.log # does bourne have $PPID? echo "PPID was $PPID" >> /tmp/silly.log ps aux |grep $PPID >> /tmp/silly.log exec $0.bin $@ # chmod u+x btool.sh # mv btool btool.bin # ln -s btool.sh btool
If you do try this, please test in a safe place before dropping it in. Measure twice, cut once.
Feel free to use fancier tools if you have them.
I noticed the same issue. In one particular hour there were 7 billion btool.log entries logged with DEBUG in the message but it is not being extracted as the log_level. Did you find any answer to this?
I'd like to comment that unless you're searching terms that would include those entries, and later filtering them, they're not likely to impact your search performance. You might consider the job inspector for tips on where to go next.