关于日志
Open
enhancement
- Dominant language
- Python
- Stars
- 23.7k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
1.可否添加通过env设置想要输出的logging 等级? 目前跑了一天生产了20~30M的日志,然而跑起来大多checker 和 fetcher logging 都没什么实际意义?
如果只想看到warnning 以上的日志的话是否可以增加以下类似的代码?
`
logging.basicConfig(level=logging.WARNING)
`
2.launcher.log 暴露了redis的密码,这样似乎有些不太安全?
`
2021-10-02 03:02:37,353 launcher.py[line:45] INFO ProxyPool Version: 2.3.0
2021-10-02 03:02:37,354 launcher.py[line:50] INFO ProxyPool configure HOST: 0.0.0.0
2021-10-02 03:02:37,354 launcher.py[line:51] INFO ProxyPool configure PORT: 5010
2021-10-02 03:02:37,354 launcher.py[line:52] INFO ProxyPool configure DB_CONN: redis://:xxxxxxxxxx@redis:6379/0
`
`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.