]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3236: Port of %oa, %<lp and %<la log format options
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 7 Jun 2011 02:13:37 +0000 (20:13 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 7 Jun 2011 02:13:37 +0000 (20:13 -0600)
commit0288875f6c1ffe53c656c3adc78caa9da1c2f846
treee69af23beba544a974334e4165081963f13e5b46
parentf6bc541ced45fd5dd7414aba533ef7f210313668
Bug 3236: Port of %oa, %<lp and %<la log format options

Christos Tsantilas:
 Add logging of the local TCP port used by transactions with http servers

  The new log format code is "%<lp"

  In the case there are several server-side connections logs the port of
  the last connection.

  This is a Measurement Factory project.

Amos Jeffries:
 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
src/HierarchyLogEntry.h
src/access_log.cc
src/cf.data.pre
src/forward.cc
src/tunnel.cc