added thread id in log output