the custom logging field % prevent '%' form being encode twice,

but i don't want to log a remaped url, the original url befored remapped is 
what i want to logged

At 2013-05-13 21:53:03,Esmq <[email protected]> wrote:

hi, gus


i observed that ts encode the '%' symbol in url twice, and can't found a useful 
logging field that can handle it properly~


My Logging format is :
<Format = "%<cqtq> %<ttms> %<chi> %<crc>/%<pssc> %<psql> %<cqhm> %<cquuc> 
%<caun> %<phr>/%<pqsn> %<psct>"/>


and flollowing is the problem:
http://test.com/%     result in a log record:    http://test.com/%25
http://test.com/%25    result in a log record: http://test.com/%2525


actually, the second url is equal to the first...
ts encode the '%' twice for second url.


Reply via email to