Skip to content

Commit a1106e5

Browse files
committed
fix: logging
1 parent d0975c9 commit a1106e5

File tree

3 files changed

+9
-39
lines changed

3 files changed

+9
-39
lines changed

Pipfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ name = "pypi"
2222
# 5. Run `pipenv install --dev` in your terminal.
2323

2424
[packages]
25-
codeforlife = "==0.24.9"
25+
codeforlife = "==0.24.10"
2626
# 🚫 Don't add [packages] below that are inherited from the CFL package.
2727

2828
[dev-packages]
29-
codeforlife = {version = "==0.24.9", extras = ["dev"]}
29+
codeforlife = {version = "==0.24.10", extras = ["dev"]}
3030
# codeforlife = {file = "../codeforlife-package-python", editable = true, extras = ["dev"]}
3131
# 🚫 Don't add [dev-packages] below that are inherited from the CFL package.
3232

Pipfile.lock

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.py

-30
Original file line numberDiff line numberDiff line change
@@ -57,33 +57,3 @@
5757
# https://docs.djangoproject.com/en/3.2/topics/http/sessions/
5858

5959
SESSION_ENGINE = "api.models.session"
60-
61-
62-
LOGGING = {
63-
"version": 1,
64-
"disable_existing_loggers": False,
65-
"formatters": {
66-
"default": {
67-
"format": json.dumps(
68-
{
69-
"serviceName": SERVICE_NAME,
70-
"name": "%(name)s",
71-
"level": "%(levelname)s",
72-
"message": "%(message)s",
73-
},
74-
separators=(",", ":"),
75-
),
76-
"style": "%",
77-
},
78-
},
79-
"handlers": {
80-
"console": {
81-
"class": "logging.StreamHandler",
82-
"formatter": "default",
83-
},
84-
},
85-
"root": {
86-
"level": os.getenv("LOG_LEVEL", "INFO"),
87-
"handlers": ["console"],
88-
},
89-
}

0 commit comments

Comments
 (0)