Skip to content

Instantly share code, notes, and snippets.

@fifitrixabelle
Created June 27, 2013 10:48
Show Gist options
  • Save fifitrixabelle/5875581 to your computer and use it in GitHub Desktop.
Save fifitrixabelle/5875581 to your computer and use it in GitHub Desktop.
lua debug output to file
local out = assert(io.open('output', "wa"))
out:write( table.concat( {http_status, upstream, http_path, matched_group, variant}, ','), "\n")
assert(out:close())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment