There's no need to remove the default null log handler

This commit is contained in:
Guillaume Ayoub 2018-02-24 22:28:30 +01:00
parent e20616575d
commit 99ee59a38c
1 changed files with 0 additions and 1 deletions

View File

@ -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