From 88dc5c48a1766d9440a1e176d579dfe4714f6ed4 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 12 Mar 2011 20:24:59 +0100 Subject: initial import --- environments/development.yml | 27 +++++++++++++++++++++++++++ environments/production.yml | 17 +++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 environments/development.yml create mode 100644 environments/production.yml (limited to 'environments') diff --git a/environments/development.yml b/environments/development.yml new file mode 100644 index 0000000..bf9f228 --- /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 environement +# core is the lowest, it shows Dancer's core log messages as well as yours +# (debug, 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 THAT 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 + -- cgit 1.4.1