blob: 8b1ab740164254422f657585485f6cad31ce25a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import os
from paste import deploy
from keystone.common import logging
from keystone import config
LOG = logging.getLogger(__name__)
CONF = config.CONF
CONF(project='keystone')
name = os.path.basename(__file__)
if CONF.debug:
CONF.log_opt_values(logging.getLogger(CONF.prog), logging.DEBUG)
deploy.loadapp('config:%s' % config.find_paste_config(), name=name)
|