I'm looking for a way to:
1) Use the log rotation feature of monerod.
2) And be able to do tail -f monerod.log | dosomething.sh
Currently the log-rotation is done by (something like) close the current log-file, rename it to monerod.log-<current-date-time> and opening a new file.
At this point, above tail command is no longer following the current log-file.
I have been searching the source files, for the log rotation functions, with no luck.
Is there a way to accomplish this, without changes in source, or where should I look to make those changes?
Thanks.