Log thread name by logger
fix log path on OSX
Merge pull request #133 from calind/better_logging

Better logging