[GHC] #7863: Verbosity level for quieter Template Haskell

#7863: Verbosity level for quieter Template Haskell -----------------------------+---------------------------------------------- Reporter: dolio | Owner: Type: feature request | Status: new Priority: normal | Component: Template Haskell Version: 7.6.3 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- In projects with large numbers of dependencies, use of template haskell can cause very large amounts of output that aren't particularly interesting. However, it seems that the only verbosity level that quiets template haskell output is -v0, which also turns off normal indications of build progress. It would be pleasant to have a way to turn off template haskell loading messages while retaining the rest of -v1 output. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7863 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7863: Verbosity level for quieter Template Haskell ---------------------------------+------------------------------------------ Reporter: dolio | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.6.3 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by simonpj): * difficulty: => Unknown Comment: Can you be more precise about which messages you want to suppress? Maybe they can be be made to come out only with -v2? Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7863#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7863: Verbosity level for quieter Template Haskell ---------------------------------+------------------------------------------ Reporter: dolio | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.6.3 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Comment(by dolio): Oh, sorry. Stuff like the following: {{{ Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package array-0.4.0.1 ... linking ... done. Loading package deepseq-1.3.0.1 ... linking ... done. Loading package bytestring-0.10.0.2 ... linking ... done. Loading package old-locale-1.0.0.5 ... linking ... done. Loading package time-1.4.0.1 ... linking ... done. Loading package unix-2.6.0.1 ... linking ... done. Loading package ansi-terminal-0.6 ... linking ... done. Loading package ansi-wl-pprint-0.6.6 ... linking ... done. Loading package text-0.11.2.3 ... linking ... done. Loading package blaze-builder-0.3.1.1 ... linking ... done. Loading package blaze-markup-0.5.1.5 ... linking ... done. Loading package blaze-html-0.5.1.3 ... linking ... done. Loading package containers-0.5.0.0 ... linking ... done. ... }}} That's from one of the projects I work on. There are actually 103 lines total, and they get printed multiple times, because we use template Haskell in multiple files. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7863#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7863: Verbosity level for quieter Template Haskell ---------------------------------+------------------------------------------ Reporter: dolio | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.6.3 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Comment(by simonpj): If someone wants to make this output appear only `-v2`, that'd be fine with me. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7863#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC