[Kimchi-devel] [PATCH] Change default environment configuration to production mode.
Paulo Vital
pvital at linux.vnet.ibm.com
Thu Aug 7 19:18:52 UTC 2014
Changed the default environment configuration present in the final files
src/kimchi.conf and src/kimchi.config.py from 'development' to
'production' mode.
This modification will prevent that debugging traces be printed in the
front-end when something goes wrong.
Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
src/kimchi.conf.in | 2 +-
src/kimchi/config.py.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/kimchi.conf.in b/src/kimchi.conf.in
index 369f2c3..ed0270d 100644
--- a/src/kimchi.conf.in
+++ b/src/kimchi.conf.in
@@ -24,7 +24,7 @@
#ssl_key =
# Running environment of the server
-#environment = development
+#environment = production
[logging]
# Log directory
diff --git a/src/kimchi/config.py.in b/src/kimchi/config.py.in
index 68c8a4d..fca32ee 100644
--- a/src/kimchi/config.py.in
+++ b/src/kimchi/config.py.in
@@ -253,7 +253,7 @@ def _get_config():
config.set("server", "cherrypy_port", "8010")
config.set("server", "ssl_cert", "")
config.set("server", "ssl_key", "")
- config.set("server", "environment", "development")
+ config.set("server", "environment", "production")
config.add_section("logging")
config.set("logging", "log_dir", paths.log_dir)
config.set("logging", "log_level", DEFAULT_LOG_LEVEL)
--
1.8.3.1
More information about the Kimchi-devel
mailing list