Description
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?).
Attachments
Issue Links
- is related to
-
TS-4548 Convert custom log config file to Lua
- Closed