Welcome! Log In Create A New Profile

Advanced

Re: "nginx -v" outputs is in stderr.

Maxim Dounin
February 17, 2016 09:28AM
Hello!

On Wed, Feb 17, 2016 at 05:07:12PM +0900, Takahiro Kujirai wrote:

> This is Takahiro Kujirai.
>
> When I typed "nginx -v > /tmp/nginx.txt" on nginx 1.9.11, I found output
> is in stderr.

[...]

> I think "stdout" is good, not "stderr", is this the design?

Yes, this is by design.
See https://trac.nginx.org/nginx/ticket/592 for more details.

--
Maxim Dounin
http://nginx.org/

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

"nginx -v" outputs is in stderr.

Takahiro Kujirai 443 February 17, 2016 03:08AM

Re: "nginx -v" outputs is in stderr.

Maxim Dounin 250 February 17, 2016 09:28AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready