fix lager config

This commit is contained in:
erylee 2013-07-16 14:59:22 +08:00
parent 570ca1aa78
commit c5d214d3ac
1 changed files with 12 additions and 2 deletions

View File

@ -16,8 +16,18 @@
{handlers, [
{lager_console_backend, info},
{lager_file_backend, [
{"log/emqtt_error.log", error, 10485760, "$D0", 5},
{"log/emqtt_info.log", info, 10485760, "$D0", 5}
{file, "log/emqtt_error.log"},
{level, error},
{size, 10485760},
{date, "$D0"},
{count, 5}
]},
{lager_file_backend, [
{file, "log/emqtt_info.log"},
{level, info},
{size, 10485760},
{date, "$D0"},
{count, 5}
]}
]}
]},