GitHub user weifensh opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/502
Add Multiple custom access logs and Header field for ATS
As discussed in the dev maillist:
Currently TO supports only one custom access log file by configuring the
"LogFormat" and "LogObject" parameters for "logs_xml.config". We have a
requirement to support multiple custom access log files. As ATS does support
this, we are planning to extend "LogFormat"&"LogObject" on TO, and add extra 9
groups (9 should be enough) of parameters like: "LogFormat1"&"LogObject1",
"LogFormat2"&"LogObject2" ... "LogFormat9"&"LogObject9". Only when
"LogFormatN"&"LogObjectN" are configured, they will appear in
"logs_xml.config"; otherwise the file does not change, so the current behavior
does not change either.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/weifensh/incubator-trafficcontrol
master-multi-ats-access-log
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/502.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #502
----
commit 1e44dc22dd0c9ceb6b3874df53a0063955495aa7
Author: John Shen <[email protected]>
Date: 2017-04-24T11:36:29Z
Add Multiple custom access logs and Header field for ATS
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---