Current section

Files

Jump to
abac config config.exs
Raw

config/config.exs

import Config
config :erp,
boot: [:erp_boot, :abac_boot]
backend = System.get_env("KVS_BACKEND") || "mnesia"
if backend == "rocksdb" do
import_config "config.rocksdb.exs"
else
import_config "config.mnesia.exs"
end
config :bpe,
logger_level: :debug,
logger: [
{:handler, :synrc, :logger_std_h,
%{
level: :debug,
id: :synrc,
module: :logger_std_h,
config: %{type: :file, file: ~c"abac.log"},
formatter:
{:logger_formatter,
%{
template: [:time, ~c" ", :pid, ~c" ", :msg, ~c"\n"],
single_line: true
}}
}}
]
config :form,
module: :form,
registry: :"Elixir.CRM"