We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43e4500 commit 2b29abcCopy full SHA for 2b29abc
2 files changed
Makefile
@@ -1,5 +1,5 @@
1
run:
2
- source ./venv/bin/activate && uvicorn --reload --log-config logging_test.conf social.routes.base:app
+ source ./venv/bin/activate && uvicorn --reload --log-config logging_dev.conf social.routes.base:app
3
4
format: configure
5
source ./venv/bin/activate && autoflake -r --in-place --remove-all-unused-imports ./social
logging_dev.conf
@@ -0,0 +1,21 @@
+[loggers]
+keys=root
+
+[handlers]
+keys=all
6
7
+[formatters]
8
+keys=main
9
10
+[logger_root]
11
+level=DEBUG
12
+handlers=all
13
14
+[handler_all]
15
+class=StreamHandler
16
+formatter=main
17
18
+args=(sys.stdout,)
19
20
+[formatter_main]
21
+format=%(asctime)s %(levelname)-8s %(name)-15s %(message)s
0 commit comments