Default Configuration

ShipWithDjango offers robust logging capabilities by integrating with Sentry and BetterStack, two powerful tools for monitoring, error tracking, and troubleshooting. Proper logging is essential for maintaining the health and performance of your application, helping you to quickly identify and address any issues that arise.

You can learn more about these services here:

The logging settings are managed in the CONFIG/logging.py file, where you can configure the path for local log files and enable integration with Sentry or BetterStack.

Local Log File

The LOGFILE_PATH setting specifies where Django's error logs should be written. By default, logs are stored in the app.log file located within the /logs directory of your project:

LOGFILE_PATH = 'app.log'  # Path is relative to the /logs directory

You can change this path if you need to store logs in a different location or with a different file name.

Last updated