RSS Git Download  Clone
Raw Blame History
# 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 Dancer2's core log messages as well as yours
# (debug, info, warning and error)
log: "debug"

# should Dancer2 consider warnings as critical errors?
warnings: 1

# should Dancer2 show a stacktrace when an error is caught?
# if set to yes, public/500.html will be ignored and either
# views/500.tt, 'error_template' template, or a default error template will be used.
show_errors: 1

# print the banner
startup_info: 1

#session: "Cookie"
#session: "JSON"
session: "YAML"
#session: "Sereal" # can't have DT objects in data
#session: "Memcached" # defined in config.yml
#session: "DBIx"

# output sql to stdout:
enable_sql_trace: 1

engines:
  session:
    DBIx: # ~/perl-lib/Dancer2/Session/DBIx
      # dsn: "DBI:mysql:database=test;mysql_read_default_file=~/.local/mysql.cnf"
      dbname: "lims_test"