From eace7969b87b0340fb12d492b5a0ba238edafc09 Mon Sep 17 00:00:00 2001 From: PhilipWafula Date: Fri, 4 Jun 2021 13:22:44 +0300 Subject: [PATCH] Adds logger for config in debug. --- apps/data-seeding/cic_ussd/import_pins.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/data-seeding/cic_ussd/import_pins.py b/apps/data-seeding/cic_ussd/import_pins.py index 37bc5eb4..93c63e30 100644 --- a/apps/data-seeding/cic_ussd/import_pins.py +++ b/apps/data-seeding/cic_ussd/import_pins.py @@ -39,6 +39,7 @@ elif args.vv: config_dir = args.c config = confini.Config(config_dir, os.environ.get('CONFINI_ENV_PREFIX')) config.process() +logg.debug('config loaded from {}:\n{}'.format(args.c, config)) celery_app = celery.Celery(broker=config.get('CELERY_BROKER_URL'), backend=config.get('CELERY_RESULT_URL'))