Using Better Stack

Better Stack (formerly known as Logtail) is another excellent option for centralized logging and monitoring. To integrate BetterStack with your application:

  1. Enable BetterStack: Set the USE_BETTERSTACK variable to True.

  2. Set Source Token: Set the BETTERSTACK_SOURCE_TOKEN variable to the source token provided by BetterStack during setup.

USE_BETTERSTACK = False  # Change to True to enable BetterStack
BETTERSTACK_SOURCE_TOKEN = None  # Set this to your BetterStack source token

When BetterStack is enabled, your application will send logs and error data to BetterStack for centralized monitoring and analysis.

Last updated