Changed the log config to record the thread name or id and replaced the log file name with a variable.