Skip to content

Commit 76d83db

Browse files
committed
Configure the logging for pipelines
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 0b0efd9 commit 76d83db

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

federatedcode/settings.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
# SECURITY WARNING: don't run with debug turned on in production
3939
DEBUG = env.bool("FEDERATEDCODE_DEBUG", default=False)
4040

41-
4241
############################################
4342
# Federation settings
4443
AP_CONTENT_TYPE = "application/activity+json"
@@ -200,11 +199,6 @@
200199
},
201200
},
202201
"loggers": {
203-
"scanpipe": {
204-
"handlers": ["null"] if IS_TESTS else ["console"],
205-
"level": FEDERATEDCODE_LOG_LEVEL,
206-
"propagate": False,
207-
},
208202
"django": {
209203
"handlers": ["null"] if IS_TESTS else ["console"],
210204
"propagate": False,
@@ -213,6 +207,11 @@
213207
"django.db.backends": {
214208
"level": FEDERATEDCODE_LOG_LEVEL,
215209
},
210+
"fedcode.pipelines": {
211+
"handlers": ["null"] if IS_TESTS else ["console"],
212+
"level": FEDERATEDCODE_LOG_LEVEL,
213+
"propagate": False,
214+
},
216215
},
217216
}
218217

0 commit comments

Comments
 (0)