Changed log output to error.