Streaming to Log.txt corrected.