Fixes runtime logging and makes it a config option.

Option starts off by default, since that could be seen as the original behavior...

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
Merge pull request #4175 from Mloc/runtimelog

Fixes runtime logging and makes it a config option.