change logging to error level