-
Notifications
You must be signed in to change notification settings - Fork 696
Add new env var DIRENV_LOG_VERBOSE to configure logging of export diff #1231
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
base: master
Are you sure you want to change the base?
Conversation
#1234 has been merged (so this has merge conflicts) which can be used to hide the diff completely (but no counts like this PR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move the config to the config file? I'm trying to move away from using env vars to configure direnv.
Otherwise looks good on principle.
actually, i'd prefer to have this be configurable in a specific |
Hello, can this be merged? |
Hi there, I just noticed this open PR and merged the changes from master. I would suggest to show the count if the diff is hidden - this only adds one line to the output. I initially thought about adding a new config field |
i strongly disagree with showing output if the hidden option is enabled. the point of hiding it is to prevent showing any output. |
@sudoforge Would you rather introduce a new config field to show the count of exported variables? |
See #68 .
This change adds a new env var that can be set to
DIRENV_LOG_VERBOSE=0
to make the logging of exported variables much quieter (single line).If logging should be completely disabled, the existing var can be set to
DIRENV_LOG_FORMAT=
, but this will disable all logging.