Skip to content

Commit 033dcbc

Browse files
authored
Add cql2 debug statements
1 parent 0ba2237 commit 033dcbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/stac_auth_proxy/middleware/Cql2BuildFilterMiddleware.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,7 @@ def _get_filter(
108108
]
109109
for expr, builder in endpoint_filters:
110110
if re.match(expr, path):
111+
logger.debug("Path %s matched expression %s", path, expr)
111112
return builder
113+
logger.debug("Path %s did not match expressions %s", path, ','.join(p[0] for p in endpoint_filters))
112114
return None

0 commit comments

Comments
 (0)