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

日志重定向功能 #2557

Open
1 task done
xx299x opened this issue Nov 8, 2024 · 1 comment
Open
1 task done

日志重定向功能 #2557

xx299x opened this issue Nov 8, 2024 · 1 comment

Comments

@xx299x
Copy link

xx299x commented Nov 8, 2024

Clear and concise description of the problem

我的脚本需要初始化一下自己的环境, 通常启动需要自定义sh脚本, 这样导致日志文件全部都是一个名称, 如下方命令

ql_init.sh website/spider.py
ql_init.sh website/spider1.py

产生的日志文件
image

Suggested solution

可以在任务添加界面重定义日志产生的文件夹

Alternative

No response

Additional context

No response

Validations

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@requireCool
Copy link

@whyour 作者如果考虑该功能的话,希望可以兼容关闭任务的日志记录,比如重定向到/dev/null?
有些执行周期很短的任务一天会产生大量的日志,但实际可能没太大用处

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