mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Setup basic certbot logging before running the snap prepare logic
This commit is contained in:
parent
58278e4e3b
commit
eb2f9a40fa
1 changed files with 2 additions and 2 deletions
|
|
@ -1324,11 +1324,11 @@ def main(cli_args=None):
|
|||
if not cli_args:
|
||||
cli_args = sys.argv[1:]
|
||||
|
||||
log.pre_arg_parse_setup()
|
||||
|
||||
if os.environ.get('CERTBOT_SNAPPED') == 'True':
|
||||
cli_args = snap_config.prepare_env(cli_args)
|
||||
|
||||
log.pre_arg_parse_setup()
|
||||
|
||||
plugins = plugins_disco.PluginsRegistry.find_all()
|
||||
logger.debug("certbot version: %s", certbot.__version__)
|
||||
# do not log `config`, as it contains sensitive data (e.g. revoke --key)!
|
||||
|
|
|
|||
Loading…
Reference in a new issue