forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.sys.config
44 lines (44 loc) · 2.52 KB
/
ci.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
[{kazoo_proper, [{trace_path, "/tmp/circleci-artifacts/log"}]},
{lager, [
{handlers, [
{lager_console_backend, [{level, info}
,{formatter, lager_default_formatter}
,{formatter_config, [time, " ", color, severity, " ", {module,[module],""}, {line,[".",line," "],""}, "\e[0m", message, "\n"]}]}
,{lager_file_backend, [{file, "/tmp/circleci-artifacts/log/error.log"}, {level, error}, {size, 10485760}, {date, "$D0"}, {count, 5}
,{formatter, lager_default_formatter}
,{formatter_config, [time," [",severity,"] ", "|", {callid, <<"0000000000">>}, "|", module, ":", line, " (",pid, ") ", message, "\n"]}
]}
,{lager_file_backend, [{file, "/tmp/circleci-artifacts/log/debug.log"}, {level, debug}, {size, 10485760}, {date, "$D0"}, {count, 5}
,{formatter, lager_default_formatter}
,{formatter_config, [time," [",severity,"] ", "|", {callid, <<"0000000000">>}, "|", module, ":", line, " (",pid, ") ", message, "\n"]}
]}
]
}
,{extra_sinks, [{data_lager_event
,[{handlers, [{lager_file_backend, [{file, "/tmp/circleci-artifacts/log/data.log"}, {level, debug}]}]}
,{killer_hwm, 1000}
,{killer_reinstall_after, 5000}
]
}
,{amqp_lager_event
,[{handlers, [{lager_file_backend, [{file, "/tmp/circleci-artifacts/log/amqp.log"}, {level, debug}]}]}
,{killer_hwm, 1000}
,{killer_reinstall_after, 5000}
]
}
,{dev_lager_event
,[{handlers, [{lager_file_backend, [{file, "/tmp/circleci-artifacts/log/dev.log"}, {level, debug}]}]}
,{killer_hwm, 1000}
,{killer_reinstall_after, 5000}
]
}
]
}
,{colored, true}
,{error_logger_hwm, 5000}
]}
,{aten, [{detection_threshold, 1.5}
,{poll_interval, 2000}
,{heartbeat_interval, 5000}
]}
].