# 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" logger: "Console::Colored" # 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 show a stacktrace when an 5xx 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: Simple # config.yml (these are the defaults) engines: logger: Console::Colored: # default log_format = "[%a:%P] %L @%T> %m in %f l. %l" log_format: "[%L:%P] %m %f#%l" colored_origin: "cyan" colored_levels: core: "bold bright_white" debug: "bold bright_blue" info: "bold green" warning: "bold yellow" error: "bold yellow on_red" colored_messages: core: "bold bright_white" debug: "bold bright_blue" info: "bold green" warning: "bold yellow" error: "bold yellow on_red" session: Cookie: secret_key: "it does not matter" default_duration: 86400 # 1 day with_request_address: 1