From 28eb0bf5b3ca7f3e849c5781e82b5cf03ed7d95e Mon Sep 17 00:00:00 2001 From: gongysh Date: Wed, 26 Sep 2012 12:17:09 +0800 Subject: [PATCH] Add log setting options into quantum.conf. Bug #1056584 This will improve the user experiences. Change-Id: Iaafd4eeb4fc23c5473276b3cf0e5ccffe2150ec2 --- etc/quantum.conf | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/etc/quantum.conf b/etc/quantum.conf index f86434d81..bfbbfc2c6 100644 --- a/etc/quantum.conf +++ b/etc/quantum.conf @@ -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 -- 2.45.2