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

为什么cozepy自动会log #155

Closed
Matrix-X opened this issue Jan 7, 2025 · 2 comments
Closed

为什么cozepy自动会log #155

Matrix-X opened this issue Jan 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Matrix-X
Copy link

Matrix-X commented Jan 7, 2025

非常奇怪,我用fastapi框架写了项目,然后启动项目后,随便打印一个logger.info 或者logger.error

image

然后我执行
pip uninstall cozepy
暂时卸载掉这个库,就不会自己logger在终端

然后我再次安装,
❯ pip list | grep cozepy
cozepy 0.9.1
继续会自己打印。。。

请问这个会是什么问题?

@chyroc
Copy link
Collaborator

chyroc commented Jan 9, 2025

这个 log 配置有点问题

@sumuen
Copy link

sumuen commented Feb 12, 2025

setup_logging() not working as expected - logs not showing up
问题依然存在,官方示例中setup_logging()无法正常工作

@chyroc chyroc closed this as completed Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants