Possibility to download logs in debug view. Regarding #522.