Update troubleshooting.md

This commit is contained in:
AnomicDev 2024-04-14 01:05:25 +00:00
parent 3914626379
commit 1711a9dd33

View File

@ -10,8 +10,6 @@ To record DEBUG messages in the log file,
alter a setting in your auth project's settings file: `LOGGING['handlers']['log_file']['level'] = 'DEBUG'`. alter a setting in your auth project's settings file: `LOGGING['handlers']['log_file']['level'] = 'DEBUG'`.
After restarting gunicorn and celery, your log file will record all logging messages. After restarting gunicorn and celery, your log file will record all logging messages.
## Common Problems
## Steps to Check Logs for Errors ## Steps to Check Logs for Errors
### Locate the Logs: ### Locate the Logs:
@ -54,6 +52,8 @@ settings to get more detailed messages. Remember to revert to INFO level after d
**Important Note: Before sharing logs publicly, sanitize any sensitive information such as usernames, passwords, or API keys.** **Important Note: Before sharing logs publicly, sanitize any sensitive information such as usernames, passwords, or API keys.**
## Common Problems
### I'm getting error 500 when trying to connect to the website on a new installation ### I'm getting error 500 when trying to connect to the website on a new installation
*Great.* Error 500 is the generic message given by your web server when *anything* breaks. The actual error message is hidden in one of your auth project's log files. Read them to identify it. *Great.* Error 500 is the generic message given by your web server when *anything* breaks. The actual error message is hidden in one of your auth project's log files. Read them to identify it.