diff --git a/create_accounts.py b/create_accounts.py index 2d1f5e7..a5dbd02 100644 --- a/create_accounts.py +++ b/create_accounts.py @@ -20,9 +20,9 @@ try: import coloredlogs - coloredlogs.install(level='DEBUG', fmt='%(asctime)s %(levelname)s %(message)s') + coloredlogs.install(level=LOG_LEVEL, fmt='%(asctime)s %(levelname)s %(message)s') except ImportError: - logging.basicConfig(level='DEBUG') + logging.basicConfig(level=LOG_LEVEL) logging.warning('Coloredlogs is not installed. Install it with "pip install coloredlogs" to get cool logs!') # Set config variables