File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ snit::type ::teapot::wserver {
147
147
set path [string trimleft $r(-path) /]
148
148
149
149
log::debug " Dispatch for \" $path \" "
150
- log::info [string repeat " =" [string length " Request: $path " ]]
150
+ # log::debug [string repeat "=" [string length "Request: $path"]]
151
151
log::info " Request: $path "
152
152
153
153
# _ _ _ ___ ___ ___ _________ _________ _________
@@ -272,13 +272,14 @@ snit::type ::teapot::wserver {
272
272
273
273
if {![regexp "^$p $" $path ]} continue
274
274
275
- set logmsg " Redirection Pattern: $p "
276
- append logmsg " Redirection Destination: $dst "
277
-
278
275
set path [string map [list ! $path ] $dst ]
279
276
280
- append logmsg " Redirected to: $path "
281
- log::info $logmsg
277
+ # Redirection Pattern: $p
278
+ # Redirection Destination $dst
279
+ # Redirected to $path
280
+
281
+ log::info " Redirect Map: [ join [list $p $dst $path ] " :" ]"
282
+
282
283
return $path
283
284
}
284
285
You can’t perform that action at this time.
0 commit comments