Fix raw logging

Closes #1.
Merge pull request #2 from nyuszika7h/fix-rawlog

Fix raw logging