Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Tournoud <damien@platform.sh>2017-02-28 05:13:06 +0300
committerBrad Warren <bmw@users.noreply.github.com>2017-02-28 05:13:06 +0300
commit44a6ec29c58e6bcceb05543ea8c5503fc8c5b772 (patch)
tree3e98d11f3101663d783224ba5e80b90f5d6b4668 /certbot-nginx
parent402ad8b35311460babb7195095b10d02a0b14e48 (diff)
Fix direct usages of the root logger (#4236)
Some code uses `logging.debug` and `logging.info` instead of the file-specific logger in `logger.debug` and `logger.info`.
Diffstat (limited to 'certbot-nginx')
-rw-r--r--certbot-nginx/certbot_nginx/configurator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/certbot-nginx/certbot_nginx/configurator.py b/certbot-nginx/certbot_nginx/configurator.py
index 6d51ca641..7348def2f 100644
--- a/certbot-nginx/certbot_nginx/configurator.py
+++ b/certbot-nginx/certbot_nginx/configurator.py
@@ -630,7 +630,7 @@ class NginxConfigurator(common.Plugin):
stderr=subprocess.PIPE)
text = proc.communicate()[1] # nginx prints output to stderr
except (OSError, ValueError) as error:
- logging.debug(error, exc_info=True)
+ logger.debug(error, exc_info=True)
raise errors.PluginError(
"Unable to run %s -V" % self.conf('ctl'))