log to server in test