Send exceptions and logs useful for debugging to separate file.
Merge branch 'debug-log'