From 479f19c1bc27e7ef7d4f1bf6037570403bd4d71b Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 7 Dec 2012 06:44:13 +0000 Subject: Add deprecated --logdir common opt --logfile and --logdir are aliases Nova has for the --log-file and --log-dir. If we're to support --logfile as a deprecated common option, we should do the same for --logdir. Change-Id: I16485a93070d9ad7789a287d5b035c6f270ffead --- openstack/common/cfg.py | 1 + 1 file changed, 1 insertion(+) (limited to 'openstack') diff --git a/openstack/common/cfg.py b/openstack/common/cfg.py index f5b3a84..4e93205 100644 --- a/openstack/common/cfg.py +++ b/openstack/common/cfg.py @@ -1760,6 +1760,7 @@ class CommonConfigOpts(ConfigOpts): help='(Optional) Name of log file to output to. ' 'If not set, logging will go to stdout.'), StrOpt('log-dir', + deprecated_name='logdir', help='(Optional) The directory to keep log files in ' '(will be prepended to --log-file)'), BoolOpt('use-syslog', -- cgit