Unable to read/write to file from Lua script running from HAPRoxy

Advertisements I was using Lua with HAProxy to write logs into custom log file. Although my script is running totally fine. But I don’t see anything written in my text file. Here is my lua script which I am loading from HAProxy.cfg. local function foo(value) — MY CODE — file = io.open("test.lua", "a") io.output(file) io.write("The… Read More Unable to read/write to file from Lua script running from HAPRoxy