Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 520 Bytes

06_pipeline_verbosity.md

File metadata and controls

15 lines (11 loc) · 520 Bytes

Logging and Pipeline Verbosity

The pipeline reports about it's progress during several de-identification stages. We use tqdm and loguru for logging. You can use the verbose parameter of the taggers to enable progress report.

Logging can be configured as follows:

import logging
import sys
from loguru import logger

logger.remove()
logger.add(sys.stderr, level=logging.WARNING)
logging.getLogger('flair').setLevel(logging.WARNING)