[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uwsgi
Subject:    Re: [uWSGI] writing to stderr from uwsgi-php
From:       "Roberto De Ioris" <roberto () unbit ! it>
Date:       2016-07-20 8:09:07
Message-ID: 1bd79bf1b0557433b221dfbfd1281337.squirrel () manage ! unbit ! it
[Download RAW message or body]


> 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@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
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic