lib/splash/constants.rb in prometheus-splash-0.3.0 vs lib/splash/constants.rb in prometheus-splash-0.4.0

- old
+ new

@@ -1,9 +1,9 @@ # coding: utf-8 module Splash module Constants - VERSION = "0.3.0" + VERSION = "0.4.0" # the path to th config file, not overridable by config CONFIG_FILE = "/etc/splash.yml" # the default execution trace_path if backend file TRACE_PATH="/var/run/splash" @@ -45,12 +45,16 @@ # backends default settings BACKENDS_STRUCT = { :list => [:file,:redis], :stores => { :execution_trace => { :type => :file, :path => "/var/run/splash" }}} # transports default settings TRANSPORTS_STRUCT = { :list => [:rabbitmq], - :active => :rabbitmq, - :rabbitmq => { :port => 5672, :host => "localhost"} } + :active => :rabbitmq, + :rabbitmq => { :port => 5672, :host => "localhost", :vhost => '/'} } - + LOGGERS_STRUCT = { :list => [:cli,:daemon, :dual], + :default => :cli, + :level => :info, + :daemon => {:file => '/var/log/splash.log'}, + :cli => {:color => true, :emoji => true } } end end