Pink2Dev / Pink2

Pinkcoin 2 Qt wallet and daemon
https://getstarted.with.pink/
MIT License
29 stars 22 forks source link

Flush logs buffer to stdout #9

Closed aistrych closed 6 years ago

aistrych commented 6 years ago

It forces flushing of logs buffer to stdout with -printtoconsole option passed to daemon on start. Required by non-TTY environments capturing stdout stream and wanting to parse and interpret logs on the fly (e.g. daemon process spawned by Node.js/Electron).