To be more specific, Please see Flask documentation how to create and configure Python loggers for you:
http://flask.pocoo.org/docs/0.10/errorhandling/ This problem is not related to uWSGI: the configuration is same whatever web server you use. Cheers, Mikko On 15 May 2015 at 10:45, Dorian Hoxha <[email protected]> wrote: > See the python logging documentation depending on your python version. > > You'll probably just need to add a 'handler' to the logger that should > write to stdout or stderr with a level of logging.DEBUG and and it will > probably work. > > On Fri, May 15, 2015 at 9:26 AM, Jerry OELoo <[email protected]> wrote: > >> Hi All: >> I have set daemonize = /tmp/uwsgi.log in uwsgi configure ini file. >> When I use flask for web app, I found there is no any log in uwsgi.log >> when I use >> app.logger.debug() in flask. what should I configure about this? >> >> >> -- >> Rejoice,I Desire! >> _______________________________________________ >> uWSGI mailing list >> [email protected] >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >> > > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > -- Mikko Ohtamaa http://opensourcehacker.com http://twitter.com/moo9000
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
