Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message verbosity #22

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 15 additions & 2 deletions README.md
Expand Up @@ -388,8 +388,8 @@ $ pgenv config show default
# ---------------------------------------------------
# pgenv configuration created on mer 12 set 2018, 08.35.52, CEST

# Enables debug output
# PGENV_DEBUG=''
# Enables verbose output, set to 'info', 'debug' or none
# PGENV_VERBOSITY=''

###### Build settings #####
# Make command to use for build
Expand Down Expand Up @@ -451,6 +451,19 @@ The `delete` subcommand deletes both the configuration file and its backup
copy. The `pgenv remove` command also deletes any configuration for the
removed version.

#### Configuration of message verbosity

The special variable `PGENV_VERBOSITY` can be used to increase or limit the verbosity
of the application. It is possible to set it to `info`, `debug`, `error` or `warn`
to show only message of the level greater or equal to the one selected.
By default, the application runs with `info` level messages.
More in details, the levels grow from:

- `debug`
- `info`
- `warn`
- `error`

# Bug Reporting

Please use [GitHub issues].
Expand Down