Move log after setting thread name

https://gist.github.com/mikesart/6467648