Skip to content

Commit d81defc

Browse files
committed
Update custom_routing.py log details
1 parent 61def46 commit d81defc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/satosa/micro_services/custom_routing.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ def get_backend_by_endpoint_path(self, context, native_backend,
6262
for endpoint in backends[tr_backend]['endpoints']:
6363
# remove regex trailing chars
6464
if tr_path == endpoint[0].strip('^').strip('$'):
65-
msg = ('Found DecideBackendByTarget ({} microservice ) '
66-
'redirecting {} backend to {}').format(self.name,
67-
native_backend,
68-
tr_backend)
69-
satosa_logging(logger, logging.DEBUG, msg, context.state)
65+
msg = ('Found DecideBackendByTarget ({} microservice) '
66+
'redirecting {} from {} backend to {}').format(entity_id,
67+
self.name,
68+
native_backend,
69+
tr_backend)
70+
satosa_logging(logger, logging.INFO, msg, context.state)
7071
return (tr_backend, tr_path)
7172
return
7273

0 commit comments

Comments
 (0)