From 99ee59a38cf25a11ff798644a9e97ded5b14353f Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Sat, 24 Feb 2018 22:28:30 +0100 Subject: [PATCH] There's no need to remove the default null log handler --- docs/tutorial.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 1aa26d1c..ad201a4e 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -243,7 +243,6 @@ by configuring the ``weasyprint`` logger object: import logging logger = logging.getLogger('weasyprint') - logger.handlers = [] # Remove the default stderr handler logger.addHandler(logging.FileHandler('/path/to/weasyprint.log')) The ``INFO`` level is used to report the rendering progress. It is useful to