add logger to server