Log all magic to a separate file from the normal log
Merge pull request #7 from Rosuav/log_magic

Log all magic to a separate file from the normal log