Add target url to missing limitmap warning
[pazpar2-moved-to-github.git] / src / client.c
index ba2567d..5bebb59 100644 (file)
@@ -970,8 +970,8 @@ static void apply_limit(struct session_database *sdb,
         }
         if (!s)
         {
-            yaz_log(YLOG_WARN, "limit %s used, but no limitmap defined",
-                    name);
+            yaz_log(YLOG_WARN, "Target %s: limit %s used, but no limitmap defined",
+                    (sdb->database ? sdb->database->url : "<no url>"), name);
         }
     }
 }