Re: Lower msvc build verbosity level - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Lower msvc build verbosity level
Date
Msg-id CABUevEwg8KAMyh3MQKEY+0br4FwgVuCTQ9Uh08m4zbOJhpgj6A@mail.gmail.com
Whole thread Raw
In response to Re: Lower msvc build verbosity level  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Lower msvc build verbosity level  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers


On Fri, Apr 8, 2016 at 2:25 PM, Andrew Dunstan <andrew@dunslane.net> wrote:


On 04/08/2016 06:19 AM, Christian Ullrich wrote:
Hello,

could we perhaps lower the verbosity level of the msvc build (in src/tools/msvc/build.pl) from "detailed" to "normal"? In my experiment, this reduces the size of the build log by 96.4 percent (from 12.5 MiB to 438 KiB), or if the log is not redirected, it shortens the build time by 45 percent, from just under 6 minutes to 3.

The lines that would not be logged anymore are mostly "Task [or Target] so-and-so skipped, due to false condition". All the compiler, linker, etc. command lines are still there.

Also, with the "detailed" logs, loading the buildfarm status page for a failure in the Make stage is really painful.




Yes! I was just wondering yesterday how to do this. If nobody objects I'm going to apply and backpatch this quite soon. This will also have beneficial effects on the buildfarm server.

+1 for doing that. It seems easy enough to manually turn it on if it turns out to be necessary to debug some specific issue in the future. 


--

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Lower msvc build verbosity level
Next
From: Aleksander Alekseev
Date:
Subject: Small patch for snapmgr.c