forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.sys.config
31 lines (31 loc) · 1.71 KB
/
dev.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
[
{sync, [{exclude_masks, ["/deps/", "/_rel/"]}]},
{lager, [
{handlers, [
{lager_console_backend, [{level, info}
,{formatter, lager_default_formatter}
,{formatter_config, [time, " ", color, "[",severity,"] ", "|", {callid, <<"0000000000">>}, "|", module, ":", line, "(",pid, ") ", {log_prefix, ["[", log_prefix, "] "], ""}, "\e[0m", message, "\n"]}
]}
,{lager_file_backend, [{file, "log/debug.log"}, {level, debug}, {size, 10485760}, {date, "$D0"}, {count, 5}
,{formatter, lager_default_formatter}
,{formatter_config, [time," [",severity,"] ", "|", {callid, <<"0000000000">>}, "|", module, ":", line, "(",pid, ") ", {log_prefix, ["[", log_prefix, "] "], ""}, message, "\n"]}
]}
]}
,{extra_sinks, [{data_lager_event
,[{handlers, [{lager_file_backend, [{file, "log/data.log"}, {level, debug}]}]}
,{killer_hwm, 1000}
,{killer_reinstall_after, 5000}
]
}
,{amqp_lager_event
,[{handlers, [{lager_file_backend, [{file, "log/amqp.log"}, {level, debug}]}]}
,{killer_hwm, 1000}
,{killer_reinstall_after, 5000}
]
}
]
}
,{colored, true}
,{error_logger_hwm, 5000}
]}
].