From 865d9074e4bfbb4540f7f35ed6726e8986d9da5a Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Mon, 22 Jun 2015 12:44:55 +0000 Subject: [PATCH] log.DialogHandler: print formatted record, not just message. Fixes bug, where DialogHandler would display only %(message) part of the record, instead of the entire formatted record string. --- letsencrypt/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt/log.py b/letsencrypt/log.py index a31bad8e3..e800d37c9 100644 --- a/letsencrypt/log.py +++ b/letsencrypt/log.py @@ -37,7 +37,7 @@ class DialogHandler(logging.Handler): # pylint: disable=too-few-public-methods lines. """ - for line in record.getMessage().splitlines(): + for line in self.format(record).splitlines(): # check for lines that would wrap cur_out = line while len(cur_out) > self.width: