Multithreaded Client server application with logging utility