Logdownload

This pull request will add support for downloading logs to the host file system. WIP.