Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] -h output note addition: Testing of configuration can lead to a correction of path/file permissions

Jörg Kost
January 12, 2018 04:02AM
Hi Maxim,

still feel, that the -t switch behavior might be not so good documented.
In some border cases this might not be the intention of running a test.

Currently it will log this things to the error file only on failure, but
I am thinking of a more general approach -> always log?

Regards

Jörg


On 10 Jan 2018, at 17:39, Maxim Dounin wrote:

> Hello!
>
> On Wed, Jan 10, 2018 at 04:09:11PM +0100, Jörg Kost wrote:
>
> I don't think this belongs to the "nginx -h" output. The "nginx
> -h" purpose is to provide short and readable description on what
> each option does, and "test configuration and exit" is a good
> enough description.
>
> What "test configuration" implies and which side-effects it may
> have is a completely different question, and trying to answer it
> here will certainly hurt readability. Also note that the
> description you've suggested is certainly incomplete - for
> example, testing configuration also creates various files and
> directories.
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] -h output note addition: Testing of configuration can lead to a correction of path/file permissions

Jörg Kost 679 January 10, 2018 10:10AM

Re: [PATCH] -h output note addition: Testing of configuration can lead to a correction of path/file permissions

Maxim Dounin 384 January 10, 2018 11:40AM

Re: [PATCH] -h output note addition: Testing of configuration can lead to a correction of path/file permissions

Jörg Kost 175 January 12, 2018 04:02AM

Re: [PATCH] -h output note addition: Testing of configuration can lead to a correction of path/file permissions

Maxim Dounin 212 January 12, 2018 09:44AM



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

Online Users

Guests: 190
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready