-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config
81 lines (71 loc) · 2.23 KB
/
app.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[{lager, [
{log_root, "./log"},
%% Default handlers for lager/lager_event
{handlers, [
{lager_console_backend, [{level, info}]},
{lager_file_backend, [{file, "error.log"}, {level, error}]},
{lager_file_backend, [{file, "console.log"}, {level, info}]}
]},
%% Any other sinks
{extra_sinks,
[
{lagerConsole_lager_event,
[{handlers,
[
{lager_console_backend, [{level, info}]}
]
}]
},
{joinerLager_lager_event,
[{handlers,
[
{lager_console_backend, [{level, error}]},
{lager_file_backend, [{file, "joiner.log"}, {level, info}, {formatter, lager_default_formatter},
{formatter_config, [time," [",severity,"] ",pid, " ", message, "\n"]}]}
]
}]
},
{fixerLager_lager_event,
[{handlers,
[
{lager_file_backend, [{file, "fixer.log"}, {level, info}, {formatter, lager_default_formatter},
{formatter_config, [time, pid, " ", message, "\n"]}]}
]
}]
},
{checkerLager_lager_event,
[{handlers,
[
{lager_file_backend, [{file, "checker.log"}, {level, info}, {formatter, lager_default_formatter},
{formatter_config, [time, pid, " ", message, "\n"]}]}
]
}]
},
{routerLager_lager_event,
[{handlers,
[
{lager_file_backend, [{file, "router.log"}, {level, info}, {formatter, lager_default_formatter},
{formatter_config, [time, pid, " ", message, "\n"]}]}
]
}]
},
{inout_lager_event,
[{handlers,
[
{lager_file_backend, [{file, "in_out.log"}, {level, info}, {formatter, lager_default_formatter},
{formatter_config, [time, pid, " ", message, "\n"]}]}
]
}]
},
{unexpected_lager_event,
[{handlers,
[
{lager_console_backend, [{level, error}]},
{lager_file_backend, [{file, "unexpected.log"}, {level, error}, {formatter, lager_default_formatter},
{formatter_config, [time," [",severity,"] ",pid, " ", message, "\n"]}]}
]
}]
}
]
}
]}].