• Felix Lange's avatar
    internal/debug: add --log.file option (#26149) · 5b4c149f
    Felix Lange authored
    This adds an option to direct log output to a file. This feature has been
    requested a lot. It's sometimes useful to have this available when running
    geth in an environment that doesn't easily allow redirecting the output.
    
    Notably, there is no support for log rotation with this change. The --log.file option
    opens the file once on startup and then keeps writing to the file handle. 
    This can become an issue when external log rotation tools are involved, so it's
    best not to use them with this option for now.
    5b4c149f
Name
Last commit
Last update
..
build Loading commit data...
cmdtest Loading commit data...
debug Loading commit data...
ethapi Loading commit data...
flags Loading commit data...
guide Loading commit data...
jsre Loading commit data...
shutdowncheck Loading commit data...
syncx Loading commit data...
testlog Loading commit data...
utesting Loading commit data...
version Loading commit data...
web3ext Loading commit data...