Skip to content

Commit 8685940

Browse files
committed
Print handler name and route when detecting URL map
1 parent 10c0f9a commit 8685940

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/lwan.c

+3
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@ void lwan_detect_url_map(struct lwan *l)
458458
if (!iter->route)
459459
continue;
460460

461+
lwan_status_debug("Using handler `%s' for route `%s'",
462+
iter->name, iter->route);
463+
461464
const struct lwan_url_map map = {.prefix = iter->route,
462465
.handler = iter->handler};
463466
register_url_map(l, &map);

0 commit comments

Comments
 (0)