Hi all,
I am looking for a solution to masquerade/anonymize data I am writing to the acccess log on my proxy. For debugging purposes we need to trace data based on the x-auth header. As this header contains critical data I do not want to enable logging of the full header. Instead I am looking for a solution to only log the first X and the last y header. so instead of logging
ycsfsfdawlkcfawncfewmlcsdfacs
I would like to see something like this ycsfsfd###############csdfacs or this. ycsfsfd..csdfacs I am using apache 2.4 on centos
Any suggestion?
Thanks
Chris
|