Prototype
Prototype copied to clipboard
Create log files
Add the option to write logs to a file. This is closely related to #259 and may be a follow-up or subtask.