diff options
Diffstat (limited to 'openstack/common/config.py')
-rw-r--r-- | openstack/common/config.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/openstack/common/config.py b/openstack/common/config.py index 7ae703e..12645f3 100644 --- a/openstack/common/config.py +++ b/openstack/common/config.py @@ -99,15 +99,15 @@ def add_log_options(parser): "the Python logging module documentation for " "details on logging configuration files.") group.add_option('--log-date-format', metavar="FORMAT", - default=DEFAULT_LOG_DATE_FORMAT, - help="Format string for %(asctime)s in log records. " - "Default: %default") + default=DEFAULT_LOG_DATE_FORMAT, + help="Format string for %(asctime)s in log records. " + "Default: %default") group.add_option('--log-file', default=None, metavar="PATH", - help="(Optional) Name of log file to output to. " - "If not set, logging will go to stdout.") + help="(Optional) Name of log file to output to. " + "If not set, logging will go to stdout.") group.add_option("--log-dir", default=None, - help="(Optional) The directory to keep log files in " - "(will be prepended to --logfile)") + help="(Optional) The directory to keep log files in " + "(will be prepended to --logfile)") group.add_option('--use-syslog', default=False, dest="use_syslog", action="store_true", help="Use syslog for logging.") @@ -249,7 +249,7 @@ def load_paste_config(app_name, options, args, config_dir=None): conf_file = find_config_file(app_name, options, args, config_dir) if not conf_file: raise RuntimeError("Unable to locate any configuration file. " - "Cannot load application %s" % app_name) + "Cannot load application %s" % app_name) try: conf = deploy.appconfig("config:%s" % conf_file, name=app_name) return conf_file, conf |