Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
openresty的日志会一直增长,日志文件rotate该怎么做?
liuchun2000
我们部署了openresty跑了一阵,因为要从日志拿client的ip信息,日志输出比较多,这个日志的分割回环有什么方式吗
selboo
用 logrotate 来切割。
用 -s reopen 重建日志文件