Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Log custom information in the log file (backend)

$
0
0

I found this example configuration code online:

http-request set-var(txn.ratelimited) str(RATE-LIMITED) if too_many_requests
http-request capture var(txn.ratelimited) len 12

It works well for the frontend definition, but does not work with the backend definition. I would like to log some custom information in my backend configuration. Is there something compareable to http-request capture for the backend?

I am using 2.4.22

Thank you so much!

Ralph

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>