Browse Source

HS_AL_LOGGING_LEVEL -> HS_AN_LOGGING_LEVEL

master
rozetko 4 years ago
parent
commit
d4d3e286e3
  1. 2
      analytics/config.py

2
analytics/config.py

@ -33,7 +33,7 @@ def get_config_field(field: str, default_val = None, allowed_values = []):
HASTIC_SERVER_URL = get_config_field('HASTIC_SERVER_URL', 'ws://localhost:8002') HASTIC_SERVER_URL = get_config_field('HASTIC_SERVER_URL', 'ws://localhost:8002')
LOGGING_LEVEL = get_config_field( LOGGING_LEVEL = get_config_field(
'HS_AL_LOGGING_LEVEL', 'HS_AN_LOGGING_LEVEL',
'INFO', 'INFO',
# TODO: make values case insensitive # TODO: make values case insensitive
['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']

Loading…
Cancel
Save