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