logging of thread creation