[ https://issues.apache.org/jira/browse/TS-4548?focusedWorklogId=26323&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26323 ]
ASF GitHub Bot logged work on TS-4548: -------------------------------------- Author: ASF GitHub Bot Created on: 11/Aug/16 00:28 Start Date: 11/Aug/16 00:28 Worklog Time Spent: 10m Work Description: GitHub user jpeach opened a pull request: https://github.com/apache/trafficserver/pull/851 TS-4548: Convert custom log config file to Lua Initial implementation of ``logging.config`` which is a Lua configuration file for custom logs. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jpeach/trafficserver lua/logging Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/851.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 #851 ---- commit 0611f3e5cc2d9bdb70796fa3a8d09f5d61a3ea84 Author: James Peach <jpe...@apache.org> Date: 2016-08-02T02:17:34Z TS-4548: Add lua_getfield helper. commit 65fdb20c378cbcbdebb9dee98e1565a637608cd4 Author: James Peach <jpe...@apache.org> Date: 2016-07-29T05:22:11Z TS-4548: Convert logs_xml.config to Lua. - Add Lua bindings for LogFormat, LogObject and LogFilter objects. - Add the proxy.config.log.config.enable_lua setting to enable use of logging.config. - Add a default logging.config configuration file. ---- Issue Time Tracking ------------------- Worklog Id: (was: 26323) Time Spent: 10m Remaining Estimate: 0h > Convert custom log config file to Lua > ------------------------------------- > > Key: TS-4548 > URL: https://issues.apache.org/jira/browse/TS-4548 > Project: Traffic Server > Issue Type: Improvement > Components: Logging, Lua > Reporter: James Peach > Assignee: James Peach > Fix For: 7.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > Custom logs {{logs_xml.config}} is a good candidate to convert to Lua > bindings. I'm thinking that we bind fairly directly to the internal logging > objects so that conceptually it is the same but instead of using XML to > construct objects, you use Lua. We would just construct Lua states on the fly > to evaluate the file. > This is the last usage of XML and would let us nuke {{proxy/shared/InkXml.*}} > as well as our dependencies on expat+libxml2. -- This message was sent by Atlassian JIRA (v6.3.4#6332)