Is it possible to configure what monerod is logging to the console?
Specifically I would like to filter out the marked as INC.
Asked
Active
Viewed 2,196 times
8
seek adventure
- 2,239
- 14
- 52
fatdoor
- 609
- 4
- 9
2 Answers
7
There is no such ability in Monero. However, grep, sed and awk can be used for this, along with tail -f. Remember --line-buffered with grep.
That should do what you're asking:
tail -f ~/.bitmonero/bitmonero.log | grep -v --line-buffered INC
The grep pattern might need tightening a bit in case it matches other things with INC in the line, though I can't think of one right now.
In the nebulous future, an overhaul of the logging system is planned, which may include an ability to turn on and off different sections of logs.
hichris123
- 125
- 5
user36303
- 34,928
- 2
- 58
- 123