From 89f3a909833755bf6e94d0e630f100c911cdd9b1 Mon Sep 17 00:00:00 2001 From: Chris Topaloudis Date: Fri, 24 Oct 2014 14:23:58 +0200 Subject: Changed logging level when loading extensions So it suppresses messages for loaded extensions when its used as third party. --- markdown/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/__init__.py b/markdown/__init__.py index fdfe8b8..3ea8e05 100644 --- a/markdown/__init__.py +++ b/markdown/__init__.py @@ -180,7 +180,7 @@ class Markdown(object): ext = self.build_extension(ext, configs.get(ext, {})) if isinstance(ext, Extension): ext.extendMarkdown(self, globals()) - logger.info('Successfully loaded extension "%s.%s".' + logger.debug('Successfully loaded extension "%s.%s".' % (ext.__class__.__module__, ext.__class__.__name__)) elif ext is not None: raise TypeError( -- cgit v1.2.3