Skip to content

Commit

Permalink
Execute setup_logging in production environment
Browse files Browse the repository at this point in the history
  • Loading branch information
dodobas committed Jul 29, 2014
1 parent e4c7977 commit 5f3f699
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions production.wsgi
Original file line number Diff line number Diff line change
@@ -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')

0 comments on commit 5f3f699

Please sign in to comment.