perf(logger propagate): logger propagate & add migrations/__init__.py files to .gitignore
parent
ae27aa2d0c
commit
b02b673e1b
|
@ -88,11 +88,11 @@ ENV/
|
||||||
.idea/
|
.idea/
|
||||||
*.db
|
*.db
|
||||||
.DS_Store
|
.DS_Store
|
||||||
__pycache__
|
**/migrations/*.py
|
||||||
**/migrations
|
|
||||||
!**/migrations/__init__.py
|
!**/migrations/__init__.py
|
||||||
*.pyc
|
*.pyc
|
||||||
conf/
|
conf/
|
||||||
!conf/env.example.py
|
!conf/env.example.py
|
||||||
db.sqlite3
|
db.sqlite3
|
||||||
media/
|
media/
|
||||||
|
__pypackages__/
|
|
@ -231,10 +231,12 @@ LOGGING = {
|
||||||
"django": {
|
"django": {
|
||||||
"handlers": ["console", "error", "file"],
|
"handlers": ["console", "error", "file"],
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
|
"propagate": False,
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"handlers": ["console", "error", "file"],
|
"handlers": ["console", "error", "file"],
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
|
"propagate": False,
|
||||||
},
|
},
|
||||||
# 数据库相关日志
|
# 数据库相关日志
|
||||||
"django.db.backends": {
|
"django.db.backends": {
|
||||||
|
|
Loading…
Reference in New Issue