Dp Logging

Utility funcs allowing alteration of logging level/verbosity within dp lib.

dataprofiler.dp_logging.get_logger()

Access DataProfiler-specific logger.

dataprofiler.dp_logging.set_verbosity(level)

Set verbosity level for DataProfiler logger.

Must set it to one of the following values: [logging.NOTSET, logging.DEBUG, logging.INFO,

logging.WARNING, logging.ERROR, logging.CRITICAL]

Parameters

level (int) – Verbosity level from logging module

dataprofiler.dp_logging.get_child_logger(name)

Return logger for the given filepath.

Parameters

name (str) – name of file in need of accessing child logger

Returns

Logger instance for given file