Hello!
On Wed, Jun 11, 2014 at 4:19 AM, Makailol Charls wrote:
> Thanks for update and suggestion on this.
>
> Yes it is possible to use access_log directive in location context so it is
> possible to log particular request in separate file but with this
> configuration it is not possible to set output log formatting as I wrote in
> previous post. We can log different values but can not add extra line or
> line break so I was looking for some alternatives in lua-nginx-module .
>
Well, you can do file operations directly in your Lua code, preferably
calling into the write() syscall via LuaJIT FFI. The only missing bit
is a hook to honor the USR1 signal and etc. I'll try adding some Lua
hooks to nginx's signal handlers (patches welcome though :)).
Regards,
-agentzh