<reponame>AbhayAysola/thenewboston-node
# mypy: ignore-errors

DEBUG = True

SECRET_KEY = '<KEY>'

MIDDLEWARE += ('thenewboston_node.core.middleware.LoggingMiddleware',)
LOGGING['formatters']['colored'] = {
    '()': 'colorlog.ColoredFormatter',
    'format': '%(log_color)s%(asctime)s %(levelname)s %(name)s %(bold_white)s%(message)s',
}
LOGGING['loggers']['thenewboston_node']['level'] = 'DEBUG'
LOGGING['handlers']['console']['level'] = 'DEBUG'
LOGGING['handlers']['console']['formatter'] = 'colored'

IS_LOCAL_SETTINGS_FILE_APPLIED = True

BLOCKCHAIN['kwargs']['base_directory'] = '<replace with absolute path to local/blockchain directory>'
