Logging to external file. Requires --nologcapture
Creates log directory if it doesn't exist.
Merge branch 'logging-fixes'