Logs whenever a new thread is processed