mirror of
https://github.com/valitydev/pathfinder.git
synced 2024-11-06 09:45:24 +00:00
31 lines
769 B
Elixir
31 lines
769 B
Elixir
import Config
|
|
|
|
config :pathfinder, Woody.Server,
|
|
ip: "0.0.0.0",
|
|
port: 8022
|
|
|
|
config :pathfinder, NewWay.Repo,
|
|
database: "nw",
|
|
username: "postgres",
|
|
password: "postgres",
|
|
hostname: "postgres"
|
|
|
|
config :pathfinder, :logger, [
|
|
{:handler, :default, :logger_std_h, %{
|
|
:config => %{
|
|
:type => {:file, 'console.json'}
|
|
},
|
|
:formatter => {:logger_logstash_formatter, %{
|
|
:exclude_meta_fields => [:ansi_color, :application, :file, :line, :mfa, :pid, :gl, :domain]
|
|
}}
|
|
}},
|
|
{:handler, Logger, :logger_std_h, %{
|
|
:config => %{
|
|
:type => {:file, 'console.json'}
|
|
},
|
|
:formatter => {:logger_logstash_formatter, %{
|
|
:exclude_meta_fields => [:ansi_color, :application, :file, :line, :mfa, :pid, :gl, :domain]
|
|
}}
|
|
}}
|
|
]
|