Blame | Last modification | View Log | RSS feed
#Sat, 19 Sep 2026 16:08:14 +0530# Sentry/GlitchTip runtime options, read off the classpath by the SDK itself# (io.sentry.config.PropertiesProviderFactory) and merged over whatever the# Sentry appender in log4j2.xml configures.## WHY THIS FILE EXISTS## The DSN lives in log4j2.xml, which ships inside every build, so ANY machine# running this code reports to the live GlitchTip project -- including a# developer's laptop. Worse, the Sentry SDK defaults `environment` to# "production" when it is unset, so those events arrived on the production# board indistinguishable from real ones. That is how errors tagged# environment=production came to carry server_name=<a developer's machine> and# paths like /opt/homebrew/Cellar/tomcat@8/... (GlitchTip issue #586).## The committed values below are therefore the SAFE ones: reporting OFF, and# labelled dev. build.gradle overwrites both at build time from -Penv=, so only# a deliberate `-Penv=staging|prod` build reports anything, and it is labelled# correctly. A plain local build stays silent.enabled=falseenvironment=dev