-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathimem.config
60 lines (60 loc) · 2.25 KB
/
imem.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
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
[{lager,
[{handlers,
[{lager_console_backend,
[{level,info},
{formatter_config,
[date," ",time," ",color,"[",severity,"] ",
{module,
["[",
{application,[]},
{pid,[]},
{pid,["@"],[]},
module,
{function,[":",function],[]},
{line,[":",line],[]},
"]"],
[]},
{enum,[" [",enum,"]"],[]},
" ",message,"\n"]}]},
{lager_file_backend,
[{file,"log/error.log"},
{level,error},
{size,10485760},
{date,"$D0"},
{formatter_config,
[date," ",time," ",color,"[",severity,"] ",
{module,
["[",
{application,[]},
{pid,[]},
{pid,["@"],[]},
module,
{function,[":",function],[]},
{line,[":",line],[]},
"]"],
[]},
{enum,[" [",enum,"]"],[]},
" ",message,"\n"]},
{count,5}]},
{lager_file_backend,
[{file,"log/console.log"},
{level,info},
{size,10485760},
{date,"$D0"},
{formatter_config,
[date," ",time," ",color,"[",severity,"] ",
{module,
["[",
{application,[]},
{pid,[]},
{pid,["@"],[]},
module,
{function,[":",function],[]},
{line,[":",line],[]},
"]"],
[]},
{enum,[" [",enum,"]"],[]},
" ",message,"\n"]},
{count,5}]}]}]}].