1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

多个网站能否添加一键清空日志功能?小硬盘小鸡,日志太占空间

Open luckylu997 opened this issue 10 months ago • 3 comments

1Panel 版本

1.10.5

请描述您的需求或者改进建议

小硬盘小鸡,多个网站的情况下,日志清理还要一个网站一个网站的选择,然后点清空日志,运行日志和错误日志还是分开的,比较麻烦 是否能增加一键清空日志的操作?像宝塔那样的。

请描述你建议的实现方案

点击按钮,一键清空所有网站日志,一键清空监控运行日志。不用一个网站一个网站的选择

附加信息

No response

luckylu997 avatar Apr 21 '24 16:04 luckylu997

Indeed that's caused by the lines:

# RUN: %mojo %s

In the test files, since they're executed by a shell, they're sensitive to spaces. We could change them to

# RUN: %mojo "%s"

but I'm not sure it's worth it as the command mojo test will soon be used to test the stdlib and those lines won't be needed anymore

gabrieldemarmiesse avatar Apr 22 '24 13:04 gabrieldemarmiesse

@gabrieldemarmiesse Do you know where the lines of code you specified are, in the repo?

sampathchanda avatar May 01 '24 03:05 sampathchanda