Initialize fmn logging.
This commit is contained in:
parent
75d3b045fc
commit
d40a72f7f5
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ import pkg_resources
|
||||||
import os
|
import os
|
||||||
os.environ['FMN_WEB_CONFIG'] = '/etc/fmn.web.cfg'
|
os.environ['FMN_WEB_CONFIG'] = '/etc/fmn.web.cfg'
|
||||||
|
|
||||||
|
import logging
|
||||||
|
logging.basicConfig()
|
||||||
|
|
||||||
# The most import line to make the wsgi working
|
# The most import line to make the wsgi working
|
||||||
from fmn.web.app import app as application
|
from fmn.web.app import app as application
|
||||||
# Dangerous.. only use when testing.
|
# Dangerous.. only use when testing.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue