PaperCutSoftware / silver

SILVER - A cross-platform service/daemon wrapper with in-build auto-update, crash resilience and more.
MIT License
54 stars 13 forks source link

Output to stdout instead of stderr in newconsolelogger #39

Closed larspehrsson closed 2 days ago

larspehrsson commented 3 days ago

newconsolelogger that was only used for the new "os.stdout" log destination was writing to stderr. It is now changed to write to stdout so not every line is interpreted as an error. Also fixed a deprecated ioutil.discard. The NewConsoleErrorLogger is not currently in use. I would like to redirect stdin to stdout and errin to errout if logging to console.