Hi,
yes I am using a custom logger with a different name than the app but
still no luck :(
Also I can't even log trough the syslog handler (which otherwise works
fine without wsgi).

I also tried to run uwsgi as root to see if it was a permission
problem but didn't work too.
I don't know where to look to solve this :(

The stack is just nginx + uwsgi + flask on Debian6

Thanks for your help,
Gianluca

> > Hello everybody,
> > I have a flask app which logs to file.
>
>
> I suppose you mean a 'custom' logger and not the default app.logger one
> (the one you enable with app.debug = True)
>
> If this is the case, be sure to not give the logger the same name of your
> app, as internally flask will initialize a logger with the same name when
> imported as a module (like uWSGI does).
>
> If (instead) you mean embedded flask logging, just be sure to set
> app.debug = True
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to