From 5f3f6998ed28b47ce6448ae258da395d07cce044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dra=C5=BEen=20Odoba=C5=A1i=C4=87?= Date: Tue, 29 Jul 2014 12:25:32 +0200 Subject: [PATCH] Execute setup_logging in production environment --- production.wsgi | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 production.wsgi diff --git a/production.wsgi b/production.wsgi new file mode 100644 index 00000000..1819d24b --- /dev/null +++ b/production.wsgi @@ -0,0 +1,6 @@ +from pyramid.paster import get_app, setup_logging + +ini_path = 'production.ini' + +setup_logging(ini_path) +application = get_app(ini_path, 'main')