Welcome! Log In Create A New Profile

Advanced

Re: understanding ngx_str_t structure

Roman Arutyunyan
September 27, 2019 07:32AM
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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

--
Roman Arutyunyan
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

understanding ngx_str_t structure

astre September 27, 2019 05:44AM

Re: understanding ngx_str_t structure

Roman Arutyunyan September 27, 2019 06:16AM

Re: understanding ngx_str_t structure

astre September 27, 2019 06:51AM

Re: understanding ngx_str_t structure

Roman Arutyunyan September 27, 2019 07:06AM

Re: understanding ngx_str_t structure

astre September 27, 2019 07:17AM

Re: understanding ngx_str_t structure

Roman Arutyunyan September 27, 2019 07:32AM

Re: understanding ngx_str_t structure

astre September 27, 2019 07:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready