Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有的错误的日志 如何删除 重启后也无法删除 #92

Open
channerchen opened this issue Apr 22, 2022 · 2 comments
Open

有的错误的日志 如何删除 重启后也无法删除 #92

channerchen opened this issue Apr 22, 2022 · 2 comments

Comments

@channerchen
Copy link

在/usr/local/pingos/logs下有个 error.log

已经在 nginx.conf 注释了 但是还出现这个日志 错误信息是一些推流信息请问如何删除

@lystormenvoy
Copy link

可以写脚本定时截取,然后定时清理
或者将errorlog的路径指定为 /dev/null

@channerchen
Copy link
Author

我想像nginx那样重新定义error.log路径但是无法成功 请问在哪里配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants