-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsys.config.template
69 lines (64 loc) · 2.27 KB
/
sys.config.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[{epcap,
%% epcap is a LINC dependency that reads packets from the eth interfaces (not
%% tap interfaces). It's a wrapper for pcap.
[
%% Setting this option to true will enable logging in libpcap. The log
%% messages will be printed to:
%% a. rel/linc/log/erlang.log.N file when started as daemon (more
%% information here: http://www.erlang.org/doc/man/run_erl.html under
%% "Notes concerning the log files"),
%% b. the application console when started in console mode.
{verbose, false},
%% This options sets interval of printing pcap statistics. The value is in
%% seconds.
%% NOTE: This option will have effect ONLY if verbose is set to true.
{stats_interval, 10}
%% This option allows manipulating internal buffer size of pcap. By
%% increasing this buffer dropping packet can be mitigated. The value is in
%% bytes.
%% , {buffer_size, 73400320}
]},
{enetconf,
[
{capabilities, [{base, {1, 0}},
{base, {1, 1}},
{startup, {1, 0}},
{'writable-running', {1, 0}}]},
{callback_module, linc_ofconfig},
{sshd_ip, any},
{sshd_port, 1830},
{sshd_user_passwords,
[
{"linc", "linc"}
]}
]},
{lager,
[
{handlers,
[
{lager_console_backend, info},
{lager_file_backend,
[
{"log/error.log", error, 10485760, "$D0", 5},
{"log/console.log", info, 10485760, "$D0", 5}
]}
]}
]},
{sasl,
[
{sasl_error_logger, {file, "log/sasl-error.log"}},
{errlog_type, error},
{error_logger_mf_dir, "log/sasl"}, % Log directory
{error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
{error_logger_mf_maxfiles, 5} % 5 files max
]},
{sync,
%% Sync is a developer utility that reloads changed beam files into the VM
%% without the need to restart it. It is started when the Makefile's dev
%% target is invoked to start the development environment.
[
%% By default only the procket module is excluded from the scan process
%% as it does not support reloading.
{excluded_modules, [procket]}
]}
].