The location of log files depends on the operating system and on which network you’re using.
It would be nice to have a shortcut which wraps tail [-f] <datadir>/<network>/debug.log
. It would do what bitcoind -printtoconsole
does now, but for bitcoin-cli
so you don’t have to restart.
A simpler alternative is a command that returns the log path, e.g.:
0tail -f `bitcoin-cli logpath`