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

From Michael Paquier
Subject Re: Lower msvc build verbosity level
Date
Msg-id CAB7nPqRD79ABj5hSoXTtRHm_=KZN23sVW_FOZzm=3Lm-cvmNdQ@mail.gmail.com
Whole thread Raw
In response to Re: Lower msvc build verbosity level  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Lower msvc build verbosity level  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Apr 8, 2016 at 9:29 PM, Magnus Hagander <magnus@hagander.net> wrote:
> 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:
>>> 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.

Please, yes. The current output is too verbose.
-- 
Michael



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Small patch for snapmgr.c
Next
From: Anastasia Lubennikova
Date:
Subject: Re: WIP: Covering + unique indexes.