我们部署了openresty跑了一阵,因为要从日志拿client的ip信息,日志输出比较多,这个日志的分割回环有什么方式吗

    用 logrotate 来切割。

    用 -s reopen 重建日志文件

      Write a Reply...