2024-08-29 21:03:36 +02:00
|
|
|
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"]},
|
|
|
|
}
|
|
|
|
|
2025-01-07 09:52:07 +01:00
|
|
|
EMAIL = "email address"
|
2024-08-29 21:03:36 +02:00
|
|
|
URL = "URL"
|
|
|
|
DOMAIN = "domain"
|
|
|
|
IPV4 = "IPv4"
|
|
|
|
IPV6 = "IPv6"
|
2025-01-07 09:52:07 +01:00
|
|
|
|
|
|
|
domain_lookup = {}
|