Fix slowness.
Update error msgs
Merge pull request #27 from agouge/fix/slow-logger

Fix slow logger