log server errors