<!-- Thank you for reporting an issue. 1. It's RECOMMENDED to submit PR for typo or tiny bug fix. 2. If this's a FEATURE request, please provide: details, pseudo codes if necessary. 3. If this's a BUG, please provide: course repetition, error log and configuration. Fill in as much of the template below as you're able. 4. It will be nice to use `egg-init --type=simple bug` to provide a mini GitHub repository which can reproduce the issue. 感谢您向我们反馈问题。 1. 提交问题前,请先阅读 https://eggjs.org/zh-cn/faq.html 2. 我们推荐如果是小问题(错别字修改,小的 bug fix)直接提交 PR。 3. 如果是一个新需求,请提供:详细需求描述,最好是有伪代码实现。 4. 如果是一个 BUG,请提供:复现步骤,错误日志以及相关配置,并尽量填写下面的模板中的条目。 5. 如果可以,请使用 `egg-init --type=simple bug` 提供一个最小可复现的代码仓库,方便我们排查问题。 6. 扩展阅读:[如何向开源项目提交无法解答的问题](https://zhuanlan.zhihu.com/p/25795393) --> * **Node Version**: * **Egg Version**: * **Plugin Name**: * **Plugin Version**: * **Platform**: * **Mini Showcase Repository**: <!-- Enter your issue details below this comment. --> ## 问题 - 文档写的定时任务日志在 egg-schedule.log https://github.com/eggjs/egg-schedule#logging - 事实上大部分都输出在 egg-web.log https://github.com/eggjs/egg-schedule/search?q=coreLogger&unscoped_q=coreLogger ## 提议 将 schedule 的内置日志全部输出到自己的 customLogger 单独文件里面,更方便排查定时任务问题 https://github.com/eggjs/egg-schedule/blob/master/config/config.default.js#L9
问题
提议
将 schedule 的内置日志全部输出到自己的 customLogger 单独文件里面,更方便排查定时任务问题 https://github.com/eggjs/egg-schedule/blob/master/config/config.default.js#L9