From 3ae23a63c504c95ae9c70d21e25e5340d42bed89 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 10 Dec 2013 18:56:54 +0000 Subject: [PATCH] Enable logging for fmn backend. --- roles/notifs-backend/templates/fmn.consumer.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/notifs-backend/templates/fmn.consumer.py b/roles/notifs-backend/templates/fmn.consumer.py index e14fbf7fc4..bfd05a344e 100644 --- a/roles/notifs-backend/templates/fmn.consumer.py +++ b/roles/notifs-backend/templates/fmn.consumer.py @@ -33,4 +33,15 @@ config = { "fmn.acceptance_url": base + "confirm/accept/{secret}", "fmn.rejection_url": base + "confirm/reject/{secret}", "fmn.support_email": "notifications@" + domain, + + # Generic stuff + "logging": dict( + loggers=dict( + fmn={ + "level": "DEBUG", + "propagate": False, + "handlers": ["console"], + }, + ), + ), }