Questions tagged [verbosity]

Verbosity is the amount of information that is logged or printed to console. The most common verbosity levels are error, warning and verbose.

Verbosity is the amount of information that is logged or printed to the user console. High verbosity level tell more but are difficult to analyze. Logging messages usually have the assigned verbosity level that helps to decide if the message should be stored or displayed.

Verbosity levels are found in many implementations of logging.

140 questions
441
votes
13 answers

How do I disable log messages from the Requests library?

By default, the Requests python library writes log messages to the console, along the lines of: Starting new HTTP connection (1): example.com http://example.com:80 "GET / HTTP/1.1" 200 606 I'm usually not interested in these messages, and would…
aknuds1
  • 65,625
  • 67
  • 195
  • 317
388
votes
8 answers

How do I force make/GCC to show me the commands?

I'm trying to debug a compilation problem, but I cannot seem to get GCC (or maybe it is make??) to show me the actual compiler and linker commands it is executing. Here is the output I am seeing: CCLD …
hernejj
  • 3,889
  • 2
  • 15
  • 3
145
votes
8 answers

Can Maven be made less verbose?

Maven spews out far too many lines of output to my taste (I like the Unix way: no news is good news). I want to get rid of all [INFO] lines, but I couldn't find any mention of an argument or config settings that controls the verbosity of Maven. Is…
Asaf Bartov
  • 2,711
  • 3
  • 20
  • 18
124
votes
6 answers

Disable messages upon loading a package

I have a package in R (ROCR) that I need to load in my R environment. Upon loading the package, a set of messages are printed. This is ordinarily fine, but since the output of my R script is being used for further analysis I want to completely…
learner
  • 1,895
  • 2
  • 19
  • 21
89
votes
3 answers

Suppress console output in PowerShell

I have a call to GPG in the following way in a PowerShell script: $key = & 'gpg' --decrypt "secret.gpg" --quiet --no-verbose > $null I don't want any output from GPG to be seen on the main console when I'm running the script. Due to my noobness…
Dominik Antal
  • 3,281
  • 4
  • 34
  • 50
72
votes
6 answers

disable NOTICES in psql output

How do I stop psql (PostgreSQL client) from outputting notices? e.g. psql:schema/auth.sql:20: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "users_pkey" for table "users" In my opinion a program should be silent unless it has an…
xenoterracide
  • 16,274
  • 24
  • 118
  • 243
72
votes
1 answer

What numbers can you pass as verbosity in running Python Unit Test Suites?

The Python unittest framework has a concept of verbosity that I can't seem to find defined anywhere. For instance, I'm running test cases like this (like in the documentation): suite =…
Rudd Zwolinski
  • 26,712
  • 17
  • 57
  • 60
66
votes
6 answers

How to determine what log level to use?

The log levels WARN, ERROR and FATAL are pretty clear. But when is something DEBUG, and when INFO? I've seen some projects that are annoyingly verbose on the INFO level, but I've also seen code that favors the DEBUG level too much. In both cases,…
Sietse
  • 7,884
  • 12
  • 51
  • 65
53
votes
5 answers

How to get the active authenticated gcloud account?

Using gcloud auth ... you can add or remove accounts used during the gcloud commands. Is there a way to get the active account without grep-ing and awk-ing? gcloud auth list is good for humans but not good enough to a machine. I want a cleaner…
Gabriel Petrovay
  • 20,476
  • 22
  • 97
  • 168
45
votes
2 answers

How can I make Elixir mix test output more verbose?

In my Elixir/Phoenix app, when I run mix test I get output like: $ mix test .... Finished in 0.09 seconds 4 tests, 0 failures with dots for each test that succeeded. How do I output the names of the tests that succeed instead? In Rails with…
joseph.hainline
  • 24,829
  • 18
  • 53
  • 70
44
votes
3 answers

'verbose' argument in scikit-learn

Many scikit-learn functions have a verbose argument that, according to their documentation, "[c]ontrols the verbosity: the higher, the more messages" (e.g., GridSearchCV). Unfortunately, no guidance is provided on which integers are allowed (e.g.,…
Gyan Veda
  • 6,309
  • 11
  • 41
  • 66
36
votes
2 answers

How can I get `pip install`'s download progress?

Using pip install on some large package doesn't show any progress report while downloading. Using the -v, --verbose option doesn't do it and there doesn't seem to be any other relevant option.
Shahar 'Dawn' Or
  • 2,713
  • 1
  • 26
  • 38
35
votes
9 answers

Elegant way for verbose mode in scripts?

When I write bash scripts I usually get the verbose mode this way (simplified): _V=0 while getopts "v" OPTION do case $OPTION in v) _V=1 ;; esac done and then every time I want a "verbose output" I type this: [ $_V -eq 1 ] && echo…
tamasgal
  • 24,826
  • 18
  • 96
  • 135
34
votes
10 answers

Does functional programming mandate new naming conventions?

I recently started studying functional programming using Haskell and came upon this article on the official Haskell wiki: How to read Haskell. The article claims that short variable names such as x, xs, and f are fitting for Haskell code, because of…
24
votes
12 answers

Is it better coding practice to define variables outside a foreach even though more verbose?

In the following examples: the first seems more verbose but less wasteful of resources the second is less verbose but more wasteful of resources (redefines string each loop) Which is better coding practice? First example: using System; using…
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
1
2 3
9 10