- yaz_log(YLOG_WARN,
- "Search response: Non-surrogate diagnostic %s",
- cl->database->database->url);
+ yaz_log(YLOG_WARN,
+ "Search response: Non-surrogate diagnostic %s (%d)",
+ cl->database->database->url,
+ *recs->u.nonSurrogateDiagnostic->condition);