qgis_deployment_toolbelt.utils.journalizer module

Helper to configure logging depending on CLI options.

qgis_deployment_toolbelt.utils.journalizer.configure_logger(verbosity: int = 1, logfile: Path = None)

Configure logging according to verbosity from CLI.

  • verbosity (int) – verbosity level

  • logfile (Path, optional) – file where to store log. Defaults to None.

qgis_deployment_toolbelt.utils.journalizer.get_logger_filepath() Path | None

Retrieve log filepath within logger handlers.


path to the logfile or None if no handler has baseFilename attr.

Return type:

Path | None


Basic information to log before other message.