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

非常顽强的error.log如何去掉 #21

Open
aiquna opened this issue Jun 17, 2022 · 2 comments
Open

非常顽强的error.log如何去掉 #21

aiquna opened this issue Jun 17, 2022 · 2 comments

Comments

@aiquna
Copy link

aiquna commented Jun 17, 2022

/www/server/panel/logs/error.log
记录自己的一些操作,最主要记录了IP
加权限的不能重启,请问一下这个文件要如何去掉呢

@flucont
Copy link
Owner

flucont commented Jun 17, 2022

我这试了可以直接删。你可以先停止bt进程再试试

@aiquna
Copy link
Author

aiquna commented Jun 17, 2022

删不掉,重启又来了,

就算chattr +i /www/server/panel/logs/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