-
Notifications
You must be signed in to change notification settings - Fork 0
/
sys.config
61 lines (49 loc) · 1.6 KB
/
sys.config
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
[
{exerltion, [
]},
{goanna,[
{data_retrival_method,
pull
},
% if not set, forwards 1 for 1...
{push_data_batch_size, 1000}, % non_neg_integer()
% Nodes to apply traces on.
{nodes, [
% [{node, NodeName},
% {cookie, Cookie},
% {type, Type}] %% tcpip_port | file | erlang_distribution
]},
% the max amount of times to try and reconnect, before a node is removed.
{max_reconnecion_attempts, 3},
%% TODO: allow initial traces to be setup, for startup when running the application
%% Currently only escript is using this...
{traces, [
% [{module,mod}],
% [{module,mod}, {function,func}],
% [{module,mod}, {function,func}, {arity,0}],
]},
%% trace options
%% messages, can be excluded, implying an indefinite amount of messages.
% {default_trace_options, [{time, 60000},{messages, 10}]},
{default_trace_options, [
{time, false},
{messages, false}
]},
%% Dbg p Flags: ( Item is 'all' currently )
%% http://erldocs.com/current/runtime_tools/dbg.html?i=1&search=dbg:p#p/2
%% http://erlang.org/doc/man/dbg.html#p-2
%% Ex: call,
%% [call, timestamp],
%% [call, sofl]
%%
{dbg_p_flags, call}
% {dbg_p_flags, [call, timestamp]}
]},
{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
]}
].