[
https://issues.apache.org/jira/browse/TS-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398729#comment-15398729
]
James Peach commented on TS-4548:
---------------------------------
Straw man syntax proposal:
{{noformat}}
minimal = format {
Format = "%<chi> : %<cqu> : %<pssc>",
}
wipe_pass = filter.wipe("%<cquc> CONTAIN passwd")
log.ascii {
Format = minimal,
}
{{noformat}}
> 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
>
>
> 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)