]> git.ipfire.org Git - thirdparty/squid.git/commit
Port 2.7: logformat tag for logging the outgoing IP address (tcp_outgoing_address)
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Mar 2011 04:29:35 +0000 (22:29 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Mar 2011 04:29:35 +0000 (22:29 -0600)
commitc3a082aee7707d65a90482f001077256043190d1
tree052e1ab795922bd262fc436a9de245dfe17bf966
parent2c3d5aec3c731e03d752e04db83a7e72af58039e
Port 2.7: logformat tag for logging the outgoing IP address (tcp_outgoing_address)

This adds the log format to log the local IP address used on outgoing
connections to peers and servers. Squid-2.7 called this %oa.

However it is a perfectly matching part of the existing set of %la and
%lp (local inbound) and %<lp (local outbound port).

As such, the %oa is accepted as input for backward compatibility, but the
Squid-3 version is: %<la

This is based only very loosely on the Squid-2 %oa work by Andrew Atangulov
doc/release-notes/release-3.2.sgml
src/HierarchyLogEntry.h
src/cf.data.pre
src/forward.cc
src/log/FormatSquidCustom.cc
src/log/Tokens.cc
src/log/Tokens.h
src/log/access_log.cc
src/tunnel.cc