Troubleshooting¶
Turn on Django debug logging¶
Set the logger to log DEBUG logs from django-guid:
LOGGING = {
'loggers': {
'django_guid': {
'handlers': ['console'],
'level': 'DEBUG',
},
},
}
Run Django with warnings enabled¶
Start manage.py runserver
with the -Wd
parameter to enable warnings that normally are suppressed.
python -Wd manage.py runserver
Use the demo project as a reference¶
There is a simple demo project available in the demoproj
folder, have a look at that to see best practices.
Read the official logging docs¶
Read the official docs about logging.
Ask for help¶
Still no luck? Create an issue on GitHub and ask for help.