mtproto_proxy/test/test-sys.config
2019-04-30 23:50:09 +02:00

33 lines
599 B
Erlang

%% -*- mode: erlang -*-
[
{mtproto_proxy,
[
{ports, []},
{external_ip, "127.0.0.1"},
{listen_ip, "127.0.0.1"},
{num_acceptors, 2},
{init_dc_connections, 1},
{metric_backend, mtp_test_metric}
]},
%% Logging config
{lager,
[{log_root, "log"},
{crash_log, "test-crash.log"},
{handlers,
[
{lager_console_backend,
[{level, critical}]},
{lager_file_backend,
[{file, "test-application.log"},
{level, info},
%% Do fsync only on critical messages
{sync_on, critical}
]}
]}]},
{sasl,
[{errlog_type, error}]}
].