How to enable uWSGI logging to a file?

后端 未结 2 1867
盖世英雄少女心
盖世英雄少女心 2021-01-04 06:10

I have just installed my first uWSGI server on EC2 Ubuntu 14.04 LTS, using the following configuration:

[uwsgi]
http-         


        
2条回答
  •  借酒劲吻你
    2021-01-04 06:39

    The "common" syntax is "logto = file".

    The logger option is used for advanced plugins, if you want to use the 'file' one you have to load the logfile plugin (like you load the python one). But honestly if you only want to log to a file, logto will be more than enough

提交回复
热议问题