Merge "Deprecate -d switch for running in foreground"
This commit is contained in:
commit
d8fab33b58
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
Running the zuul processes with the -d switch to enforce running in
|
||||||
|
foreground is now deprecated. Switch to use -f instead for this purpose.
|
||||||
|
The -d switch will change to just enable debug logging in the future.
|
|
@ -174,7 +174,11 @@ class ZuulDaemonApp(ZuulApp, metaclass=abc.ABCMeta):
|
||||||
def createParser(self):
|
def createParser(self):
|
||||||
parser = super(ZuulDaemonApp, self).createParser()
|
parser = super(ZuulDaemonApp, self).createParser()
|
||||||
parser.add_argument('-d', dest='debug', action='store_true',
|
parser.add_argument('-d', dest='debug', action='store_true',
|
||||||
help='run in foreground with debug log')
|
help='run in foreground with debug log. Note '
|
||||||
|
'that in future this will be changed to only '
|
||||||
|
'request debug logging. If you want to keep '
|
||||||
|
'running the process in the foreground '
|
||||||
|
'migrate/add the -f switch.')
|
||||||
parser.add_argument('-f', dest='foreground', action='store_true',
|
parser.add_argument('-f', dest='foreground', action='store_true',
|
||||||
help='run in foreground with info log')
|
help='run in foreground with info log')
|
||||||
return parser
|
return parser
|
||||||
|
|
Loading…
Reference in New Issue