bitshares1-core icon indicating copy to clipboard operation
bitshares1-core copied to clipboard

Console.log is overwritten when client is restarted

Open emilvelichkov opened this issue 10 years ago • 3 comments

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.

emilvelichkov avatar Sep 23 '14 01:09 emilvelichkov

Changing this is low priority, but the current behaviour is because console.log may contain passwords and private keys.

vikramrajkumar avatar Oct 13 '14 15:10 vikramrajkumar

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.

emilvelichkov avatar Oct 13 '14 15:10 emilvelichkov

I agree with emil on this one.

dnotestein avatar Oct 13 '14 16:10 dnotestein