Add more debug message if failed to send log to server.