Create magic.log lazily
Merge pull request #87 from Rosuav/magiclog

Create magic.log lazily