summaryrefslogtreecommitdiffstats
path: root/openstack/common/cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/common/cfg.py')
-rw-r--r--openstack/common/cfg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/common/cfg.py b/openstack/common/cfg.py
index acef6fb..f5b3a84 100644
--- a/openstack/common/cfg.py
+++ b/openstack/common/cfg.py
@@ -1756,11 +1756,12 @@ class CommonConfigOpts(ConfigOpts):
'Default: %(default)s'),
StrOpt('log-file',
metavar='PATH',
+ deprecated_name='logfile',
help='(Optional) Name of log file to output to. '
'If not set, logging will go to stdout.'),
StrOpt('log-dir',
help='(Optional) The directory to keep log files in '
- '(will be prepended to --logfile)'),
+ '(will be prepended to --log-file)'),
BoolOpt('use-syslog',
default=False,
help='Use syslog for logging.'),