推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
SimbaPeng
V2EX  ›  Python

Python 的 logging 库为啥设计成不支持多进程的?

  •  
  •   SimbaPeng · Jun 19, 2018 · 3314 views
    This topic created in 2884 days ago, the information mentioned may be changed or developed.

    而且 django 为何默认使用 logging 记录日志,难道 django 都是部署单进程的吗?

    4 replies    2018-06-27 15:17:17 +08:00
    reself
        2
    reself  
       Jun 19, 2018 via Android
    可以用 logging 接口来自定义 log 服务啊,还可以用队列来异步化。
    aaronzjw
        3
    aaronzjw  
       Jun 19, 2018 via iPhone
    可以配置不同得日志文件
    lolizeppelin
        4
    lolizeppelin  
       Jun 27, 2018
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4253 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 00:56 · PVG 08:56 · LAX 17:56 · JFK 20:56
    ♥ Do have faith in what you're doing.