Re: Lower msvc build verbosity level

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Lower msvc build verbosity level
Дата
Msg-id CABUevEwg8KAMyh3MQKEY+0br4FwgVuCTQ9Uh08m4zbOJhpgj6A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Lower msvc build verbosity level  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Lower msvc build verbosity level  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Lower msvc build verbosity level
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: Small patch for snapmgr.c