diff options
| author | franck cuny <franck@lumberjaph.net> | 2011-06-13 16:27:11 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2011-06-13 16:27:11 +0200 |
| commit | 98ec20127d450d4f8223a9a57fab9cbdb8e1dcb6 (patch) | |
| tree | f6231cb4a433493d8bd912719b9b5943b5e0b3fc /environments | |
| download | stargit-98ec20127d450d4f8223a9a57fab9cbdb8e1dcb6.tar.gz | |
initial import
Diffstat (limited to 'environments')
| -rw-r--r-- | environments/development.yml | 27 | ||||
| -rw-r--r-- | environments/production.yml | 17 |
2 files changed, 44 insertions, 0 deletions
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 + |
