[uWSGI] writing to stderr from uwsgi-php

Roberto De Ioris roberto at unbit.it
Wed Jul 20 10:09:07 CEST 2016


> I need to debug a php application running in uwsgi,
> what's the best way to write to stderr from php itself?
>
> ps.
> for some reason I don't get any output from the error_log() function
>
> --
> damjan
> _______________________________________________
> uWSGI mailing list
> uWSGI at lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>

This is strange (maybe you have disabled error reporting ?), the php hook
for logging is mapped to uwsgi_log.

Maybe it is better to expose a uwsgi_log api call to php ?

-- 
Roberto De Ioris
http://unbit.com


More information about the uWSGI mailing list