oslo.config override gunicorn command line
Bug #1897238 reported by
Mystic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
New
|
Undecided
|
Unassigned |
Bug Description
I have a flask app that was wrapped by WSGI middleware that is to log for each request. In the custom middleware, I use oslo.config to read from the config file(Not from the CLI parameters, from 'default_
gunicorn: error: unrecognized arguments: -c /etc/cc/server.conf cc_api.
usage: gunicorn [-h] [--config-dir DIR] [--config-file PATH]
I use this gunicorn command to start app:
gunicorn -c /etc/cc/server.conf cc_api.
The usage I used is right? If not, how to use oslo.config?
BTW, I do not want to get config file path from CLI.