move api logging to server