James Peach created TS-4741:
-------------------------------
Summary: Emit logs with native Lua functions
Key: TS-4741
URL: https://issues.apache.org/jira/browse/TS-4741
Project: Traffic Server
Issue Type: Improvement
Components: Logging
Reporter: James Peach
Starting with TS-4548, we have Lua configuration for setting up logging
objects. The next step is to find a way to let operators write a Lua function
to generate the actual log lines. This would let you perform log filtering,
etc. in Lua and make arbitrary calls to Lua functions when generating the log
entries.
To get this to work, the main challenges are Lua state management (one state
per loggin thread maybe? how would config reload work?) and the API around
exposing logging tags (magic table indexes named after the tags?).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)