ixqbar,
请问您这种缓存file handle的方法在多nginx worker的环境下会有问题吗? 感觉这样打开会被当前worker 进程独占
发自我的 iPad
在 Sep 20, 2012,6:35 PM,ix...@gmail.com 写道:
> On Tuesday, September 18, 2012 4:52:59 PM UTC+8, steven wrote:
>> ngx.log貌似是将日志写入nginx的log
>> 和普通的nginx log是混在一起的
>> 我现在做的一个项目需要获取post请求中的内容,然后将内容写日志,
>> 所以希望能单独地写另一个日志,如根据时间来滚动的,2012091816.log
>> 请问,openresty目前能做到吗?
>
> 应该可以,可以看下http://xingqiba.sinaapp.com/?p=851
>
>