add more logging on server