summaryrefslogtreecommitdiffstats
path: root/environments
diff options
context:
space:
mode:
author-m <example.com>2013-03-19 19:52:26 +0100
committer-m <example.com>2013-03-19 19:52:26 +0100
commitebd870b596a67a55ef3411765fd69504d95fad09 (patch)
tree96deed663f473f212fad4a0ef78bb8adc1b289ef /environments
downloadBiblioteka-ebd870b596a67a55ef3411765fd69504d95fad09.tar.gz
Biblioteka-ebd870b596a67a55ef3411765fd69504d95fad09.tar.bz2
Biblioteka-ebd870b596a67a55ef3411765fd69504d95fad09.tar.xz
Biblioteka-ebd870b596a67a55ef3411765fd69504d95fad09.zip
initial version
Diffstat (limited to 'environments')
-rw-r--r--environments/development.yml27
-rw-r--r--environments/production.yml17
2 files changed, 44 insertions, 0 deletions
diff --git a/environments/development.yml b/environments/development.yml
new file mode 100644
index 0000000..1107437
--- /dev/null
+++ b/environments/development.yml
@@ -0,0 +1,27 @@
+# configuration file for development environment
+
+# the logger engine to use
+# console: log messages to STDOUT (your console where you started the
+# application server)
+# file: log message to a file in log/
+logger: "console"
+
+# the log level for this environment
+# core is the lowest, it shows Dancer's core log messages as well as yours
+# (debug, info, warning and error)
+log: "core"
+
+# should Dancer consider warnings as critical errors?
+warnings: 1
+
+# should Dancer show a stacktrace when an error is caught?
+show_errors: 1
+
+# auto_reload is a development and experimental feature
+# you should enable it by yourself if you want it
+# Module::Refresh is needed
+#
+# Be aware it's unstable and may cause a memory leak.
+# DO NOT EVER USE THIS FEATURE IN PRODUCTION
+# OR TINY KITTENS SHALL DIE WITH LOTS OF SUFFERING
+auto_reload: 0
diff --git a/environments/production.yml b/environments/production.yml
new file mode 100644
index 0000000..86801b4
--- /dev/null
+++ b/environments/production.yml
@@ -0,0 +1,17 @@
+# configuration file for production environment
+
+# only log warning and error messsages
+log: "warning"
+
+# log message to a file in logs/
+logger: "file"
+
+# don't consider warnings critical
+warnings: 0
+
+# hide errors
+show_errors: 0
+
+# cache route resolution for maximum performance
+route_cache: 1
+