This patch imports oslo's log module. I modified it since it depends on
oslo's notifier which has many other dependencies Marconi doesn't need.
There's sort of an issue with gunicorn, it seems that once
log.setup('marconi') is called, gunicorn starts logging twice each
message.
Change-Id: I85e8354b7af9b67ea1f87e54b3b73250d4a1115a
30 lines
644 B
Plaintext
30 lines
644 B
Plaintext
[DEFAULT]
|
|
; debug = False
|
|
; verbose = False
|
|
|
|
[drivers]
|
|
;transport = marconi.transport.wsgi, marconi.transport.zmq
|
|
transport = marconi.transport.wsgi
|
|
;storage = marconi.storage.mongodb, marconi.storage.sqlite
|
|
storage = marconi.storage.mongodb
|
|
|
|
[drivers:transport:wsgi]
|
|
bind = 0.0.0.0:8888
|
|
; workers = 4
|
|
workers = 1
|
|
; worker_class = sync, gevent, eventlet
|
|
worker_class = sync
|
|
; user = 1000
|
|
; group = 1000
|
|
; proc_name = marconi
|
|
; certfile = cert.crt
|
|
; keyfile = cert.key
|
|
|
|
|
|
;[drivers:transport:zmq]
|
|
;port = 9999
|
|
|
|
[drivers:storage:mongodb]
|
|
uri = mongodb://db1.example.net,db2.example.net:2500/?replicaSet=test&ssl=true&w=majority
|
|
database = marconi
|