flask-soc-site/constants.py
Joost Agterhoek 71ddce4a86 refactoring
2025-01-07 09:52:07 +01:00

30 lines
665 B
Python

LOGCONF = {
"version": 1,
"formatters": {
"default": {
"format": "[%(asctime)s] %(levelname)s in %(module)s: %(message)s",
}
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"stream": "ext://sys.stdout",
"formatter": "default",
},
"file": {
"class": "logging.FileHandler",
"filename": "flask.log",
"formatter": "default",
},
},
"root": {"level": "DEBUG", "handlers": ["console", "file"]},
}
EMAIL = "email address"
URL = "URL"
DOMAIN = "domain"
IPV4 = "IPv4"
IPV6 = "IPv6"
domain_lookup = {}