输出的渠道,还是标准的 stderror 为好,其它到文件/DB 什么的都忒没谱,也拖慢了运行,
不过,使用 OpenResty 内置的异步能力,吐到远程的消息中心什么的也是好的...
2012/7/4 smallfish <small...@gmail.com>:
> 可以根据日志等级来调试或者测试相关的输出 :)
> --
> blog: http://chenxiaoyu.org
>
>
>
> On Wed, Jul 4, 2012 at 10:00 AM, damacheng009 <damac...@gmail.com>
> wrote:
>>
>> 大家好:
>> 看到ngx.log命令只能把日志打到error.log,想问下大家打日志是如何处理的呢?
>>
>> 2012-07-04
>> ________________________________
>> damacheng009
>>
>> --
人生苦短, Pythonic! 冗余不做,日子甭过!备份不做,十恶不赦!
俺: http://about.me/zoom.quiet
文字协议: http://creativecommons.org/licenses/by-sa/2.5/cn/