On Fri, Sep 27, 2019 at 07:17:59AM -0400, astre wrote:
> Right, actually the question is when I use std::cout nothing gets printed in
> error_log even when it is set to debug.

Logging in nginx is more complicated than just writing to fd #1.  If you want to
log a message to nginx error log, you should use nginx logging API.

> Posted at Nginx Forum: 
> https://forum.nginx.org/read.php?2,285729,285733#msg-285733
> 
> _______________________________________________
> nginx mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx

-- 
Roman Arutyunyan
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to