Ticket #3088 (closed feature request: fixed)

Opened 4 years ago

Last modified 4 years ago

have ghc-pkg print less useless info when registering

Reported by: duncan Owned by:
Priority: normal Milestone: 6.12.1
Component: Package system Version: 6.10.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

This is just the ghc part of  Cabal ticket #487, "print less useless info during builds".

Useless:

Reading package info from "dist/installed-pkg-config" ... done.
Writing new package config file... done.

This message is generated by ghc-pkg. We should patch ghc-pkg to not be so verbose by default. That message is only needed at a higher verbosity level. 

Actually what's missing is any notion of verbosity in ghc-pkg. It doesn't matter so much what the default verbosity level is as long as Cabal can tell ghc-pkg to be quiet by default. Of course we still want to know about errors, warnings etc.

Change History

Changed 4 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.12.1

This sounds easy, let's do it for 6.12.1.

Changed 4 years ago by simonmar

  • component changed from Compiler to Package system

Changed 4 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

ghc-pkg now has a verbosity flag, and at verbosity level 0 it won't print those messages.

Note: See TracTickets for help on using tickets.