Add log setting options into quantum.conf.

Bug #1056584

This will improve the user experiences.

Change-Id: Iaafd4eeb4fc23c5473276b3cf0e5ccffe2150ec2
This commit is contained in:
gongysh 2012-09-26 12:17:09 +08:00
parent 4c679f6188
commit 28eb0bf5b3
1 changed files with 17 additions and 4 deletions

View File

@ -1,9 +1,22 @@
[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = True
# Default log level is WARNING
# Show debugging output in logs (sets DEBUG log level output)
debug = True
# debug = False
# Show more verbose log output (sets INFO log level output) if debug is False
# verbose = False
# log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
# log_date_format = %Y-%m-%d %H:%M:%S
# use_syslog = False
# syslog_log_facility = LOG_USER
# if use_syslog is False, we can set log_file and log_dir.
# if use_syslog is False and we do not set log_file,
# the log will be printed to stdout.
# log_file =
# log_dir =
# Address to bind the API server
bind_host = 0.0.0.0