V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
larkifly
V2EX  ›  Python

uwsgi 日志如何分割

  •  
  •   larkifly · 2015-03-20 11:49:59 +08:00 · 4007 次点击
    这是一个创建于 3318 天前的主题,其中的信息可能已经有所发展或是发生改变。
    webpy+uwsgi部署,uwsgi通过-d指定日志路径,今天我发现日志太大,就用mv移走了,移走后就发现uwsgi死活不输出日志了,即使我reload或者重新touch一个文件,但还是没有日志,但服务很正常。

    所以,我想问问大家平时怎么处理uwsgi日志的
    3 条回复    2016-03-19 18:28:03 +08:00
    66450146
        1
    66450146  
       2015-03-20 11:55:36 +08:00
    --log-maxsize <bytes>
    tigereatsheep
        2
    tigereatsheep  
       2015-03-27 14:07:22 +08:00
    不管什么日志,我都是直接用shell切的。
    zonghua
        3
    zonghua  
       2016-03-19 18:28:03 +08:00
    我不需要访问日志,请问怎么做?官网的文档指南太散乱了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2955 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 03:14 · PVG 11:14 · LAX 20:14 · JFK 23:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.