Skip to content

Commit e387a64

Browse files
committed
Full log for redirect
1 parent 5a4f3d5 commit e387a64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

readthedocs/proxito/views/serve.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@ def get(self,
9090
# However, if the new_path is already an absolute URI, just use it
9191
new_path = request.build_absolute_uri(new_path)
9292
log.info(
93-
'Redirecting to: http_status=%s url=%s',
94-
http_status,
93+
'Redirecting: from=%s to=%s http_status=%s',
94+
request.build_absolute_uri(),
9595
new_path,
96+
http_status,
9697
)
9798

9899
if http_status and http_status == 301:

0 commit comments

Comments
 (0)