bitshares1-core
bitshares1-core copied to clipboard
Console.log is overwritten when client is restarted
If the client is started with --log-commands it creates console.log in the root of the data-dir. Every time the client is started the old log is overwritten. There should be a mechanism to preserve the old logs.
Changing this is low priority, but the current behaviour is because console.log
may contain passwords and private keys.
Console logging is disabled by default due to sensitive info. Users need to use --log-commands to enable console logging. However console.log behavior is different than the rest of the logs. In my opinion overwriting previous log is not the best option.
I agree with emil on this one.