Skip to content

Commit 8e2e283

Browse files
Kalle Jokinenmhieta
authored andcommitted
feat: use separate AUDIT_LOG_ENV variable
1 parent 016a04a commit 8e2e283

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

kukkuu/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
BROWSER_TEST_AD_GROUP_NAME=(str, "kukkuu_browser_test"),
108108
KUKKUU_DEFAULT_LOGGING_LEVEL=(str, "INFO"),
109109
APP_RELEASE=(str, ""),
110+
AUDIT_LOG_ENV=(str, ""),
110111
AUDIT_LOG_ES_URL=(str, ""),
111112
AUDIT_LOG_ES_INDEX=(str, ""),
112113
AUDIT_LOG_ES_USERNAME=(str, ""),
@@ -534,7 +535,7 @@ def sentry_before_send(event: Event, hint: Hint):
534535

535536
RESILIENT_LOGGER = {
536537
"origin": "kukkuu",
537-
"environment": env("SENTRY_ENVIRONMENT"),
538+
"environment": env("AUDIT_LOG_ENV"),
538539
"sources": [
539540
{
540541
"class": "resilient_logger.sources.DjangoAuditLogSource",

0 commit comments

Comments
 (0)