mtproto_proxy/test/test-sys.config
2019-03-04 01:44:47 +01:00

33 lines
592 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, "crash.log"},
{handlers,
[
{lager_console_backend,
[{level, critical}]},
{lager_file_backend,
[{file, "application.log"},
{level, warning},
%% Do fsync only on critical messages
{sync_on, critical}
]}
]}]},
{sasl,
[{errlog_type, error}]}
].