Use the debug tag "url" with debugging enabled and see if that helps.

-----Original Message-----
From: Timothy Watts <tim.j.wa...@kcl.ac.uk> 
Sent: Friday, November 17, 2023 10:48 AM
To: users@trafficserver.apache.org
Subject: Enhanced logging or other way to "debug" a remap.config that is not 
behaving as expected?

Hi. Sorry for the n00b question: Documentation and google have not helped me...

I'm having problems with a remap.config file that is not playing ball (redirect 
directive is being ignored)

How best should I trace *how* a request is being handled by ATS and in 
particular, can I get it to log its decision tree: something like:

...
Remap line 23: SRC-URL not matched, skipping Remap line 24: map matched, 
proxying request SRC-URL to DST-URL ...

(or something that would give me any sort of hint about what it's doing with a 
specific request?)

In Apache HTTP Server, I might increase LogLevel to debug and maybe filter it 
for proxy or rewrite module logs.

Many thanks.

Cheers, Tim

 

Reply via email to