d376b60597
Cleanup Ranger logging logic and allow the following logging option: - logging to console only - logging to logfile only = logging to console AND logfile Also cleanup authentication logic as well. Change-Id: I8e422a1c9e44c4f58078d93d4f2a5a009df91ba1
26 lines
585 B
Python
Executable File
26 lines
585 B
Python
Executable File
from orm import base_config as config
|
|
|
|
|
|
# Server Specific Configurations
|
|
server = {
|
|
'port': config.uuid['port'],
|
|
'host': config.orm_host,
|
|
'name': 'uuid'
|
|
}
|
|
# Pecan Application Configurations
|
|
app = {
|
|
'root': 'orm.services.id_generator.uuidgen.controllers.root.RootController',
|
|
'modules': ['orm.services.id_generator.uuidgen'],
|
|
'debug': True,
|
|
}
|
|
|
|
app_module = app['modules'][0]
|
|
logging = config.get_log_config(config.uuid['log'], server['name'], app_module)
|
|
|
|
verify = config.ssl_verify
|
|
|
|
# DB configurations
|
|
database = {
|
|
'connection_string': config.db_connect
|
|
}
|