Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Configure the logging for pipelines
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
  • Loading branch information
keshav-space committed Dec 2, 2024
commit 76d83dbf47c48f5676c8f5ed892bd12850d16a44
11 changes: 5 additions & 6 deletions federatedcode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
# SECURITY WARNING: don't run with debug turned on in production
DEBUG = env.bool("FEDERATEDCODE_DEBUG", default=False)


############################################
# Federation settings
AP_CONTENT_TYPE = "application/activity+json"
Expand Down Expand Up @@ -200,11 +199,6 @@
},
},
"loggers": {
"scanpipe": {
"handlers": ["null"] if IS_TESTS else ["console"],
"level": FEDERATEDCODE_LOG_LEVEL,
"propagate": False,
},
"django": {
"handlers": ["null"] if IS_TESTS else ["console"],
"propagate": False,
Expand All @@ -213,6 +207,11 @@
"django.db.backends": {
"level": FEDERATEDCODE_LOG_LEVEL,
},
"fedcode.pipelines": {
"handlers": ["null"] if IS_TESTS else ["console"],
"level": FEDERATEDCODE_LOG_LEVEL,
"propagate": False,
},
},
}

Expand Down