Description
from gitmaster(github.com/apache/trafficserver)
config Collation Client
CONFIG proxy.config.url_remap.filename STRING remap.config CONFIG proxy.config.log.config.filename STRING logging.config CONFIG proxy.config.log.collation_host STRING 192.168.2.33 CONFIG proxy.config.log.collation_secret STRING testlog LOCAL proxy.local.log.collation_mode INT 2 CONFIG proxy.config.log.collation_port INT 8085
config Collation Server
CONFIG proxy.local.log.collation_mode INT 1 CONFIG proxy.config.log.collation_port INT 8085 CONFIG proxy.config.log.collation_secret STRING testlog
logging.config
w3c = format { Format='%<cquuh> %<{Cdn-Real-Ip}cqh> - %<caun> [%<cqtn>] \"%<cqhm> %<cquuc> %<cqhv>\" %<pssc> %<psql> \"%<{Referer}cqh>\" \"%<{user-agent}cqh>\" %<crc> %<ttmsf> %<phi> %<sssc> %<cqtr> %<piid> %<pitag>' } log.ascii { Filename = 'c11', Format = w3c, CollationHosts = { '192.168.2.33:8085' } }
It still flush log to local disk not to remote collation server
Attachments
Issue Links
- links to