bitcoin/bitcoin — pull request #4175 by shshshsh (2014-05-11 13:41:06+00:00)
Title: Switch stdout to line buffering if -printtoconsole is given

Use line buffering (instead of block buffering) when logging to stdout,
so that messages arrive immediately in systemd-journald and the like.