Made secure client connection use main log file