]> git.ipfire.org Git - thirdparty/squid.git/commit
SourceLayout: format namespace for custom tag-based formats
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 4 Aug 2011 03:21:06 +0000 (21:21 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 4 Aug 2011 03:21:06 +0000 (21:21 -0600)
commit38e16f927fb0ac854e8a6bfec90f49af5ef1f6eb
treea403463c5592652a8870c1205668bf487c6ba23b
parent208c88d5d3eb6ec17c78334d93b165d021aba259
SourceLayout: format namespace for custom tag-based formats

Part 1 of enabling non-logging components to support custom formats in strings

Shuffle the log custom format code into its own library separate from the
logging functionality.

One minor logic change removing redundant LogFileEnabled flag.

TODO:
 - use MemBuf instead or as well as StoreEntry as the output buffer
 - separate from AccessLogEntry confusion
 - upgrade deny_info URL generation format
 - upgrade external_acl_type format
 - add custom helper formats
32 files changed:
configure.ac
doc/debug-sections.txt
src/AccessLogEntry.h
src/HttpRequest.cc
src/HttpRequest.h
src/Makefile.am
src/adaptation/History.cc
src/cache_cf.cc
src/client_db.cc
src/client_side_reply.cc
src/client_side_request.cc
src/format/Format.cc [new file with mode: 0644]
src/format/Format.h [new file with mode: 0644]
src/format/Makefile.am [new file with mode: 0644]
src/format/Quoting.cc [moved from src/log/Gadgets.cc with 97% similarity]
src/format/Quoting.h [moved from src/log/Gadgets.h with 50% similarity]
src/format/Tokens.cc [new file with mode: 0644]
src/format/Tokens.h [moved from src/log/Tokens.h with 55% similarity]
src/helper.cc
src/log/Config.cc
src/log/Config.h
src/log/FormatHttpdCombined.cc
src/log/FormatHttpdCommon.cc
src/log/FormatSquidCustom.cc
src/log/FormatSquidIcap.cc
src/log/FormatSquidNative.cc
src/log/Makefile.am
src/log/Tokens.cc [deleted file]
src/log/access_log.cc
src/stat.cc
src/store_log.cc
src/structs.h