understanding ngx_str_t structure

Roman Arutyunyan arut at nginx.com
Fri Sep 27 11:30:21 UTC 2019

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
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Roman Arutyunyan

More information about the nginx mailing list