]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add log setting options into quantum.conf.
authorgongysh <gongysh@cn.ibm.com>
Wed, 26 Sep 2012 04:17:09 +0000 (12:17 +0800)
committergongysh <gongysh@cn.ibm.com>
Wed, 26 Sep 2012 04:17:09 +0000 (12:17 +0800)
Bug #1056584

This will improve the user experiences.

Change-Id: Iaafd4eeb4fc23c5473276b3cf0e5ccffe2150ec2

etc/quantum.conf

index f86434d81bc126f02fc0ec12e1fbb6a81cab4e34..bfbbfc2c6fd92ec1eddc303bb1a63ef56db93e0c 100644 (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