I’d like to log the name given to the socket with the bind “name” option.
The custom log format option
%ft for the frontend name don’t include the socket name, and I didn’t see any other log variable to use them.
The log lines (not customizable) used for errors do include the bind name, if defined.
I quickly browsed the source code and couldn’t find any way to access the socket listener name from session variables.
Is this only accessible in the stats page and the error logs?