add logger to record the clients' infomation