[ https://issues.apache.org/jira/browse/TS-4548?focusedWorklogId=26400&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26400 ]
ASF GitHub Bot logged work on TS-4548: -------------------------------------- Author: ASF GitHub Bot Created on: 12/Aug/16 22:16 Start Date: 12/Aug/16 22:16 Worklog Time Spent: 10m Work Description: Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/851#discussion_r74668539 --- Diff: proxy/logging/LogConfig.cc --- @@ -493,14 +494,21 @@ void LogConfig::setup_log_objects() { Debug("log", "creating objects..."); + RecBool enable_lua = false; + + RecGetRecordBool("proxy.config.log.config.enable_lua", &enable_lua); --- End diff -- Would prefer to do that as a separate Jira. Issue Time Tracking ------------------- Worklog Id: (was: 26400) Time Spent: 1h 40m (was: 1.5h) > 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: 1h 40m > 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)