adding thread name to the log output