Browse files

core: update lager_file_backend configuration to new format.

  • Loading branch information...
1 parent 8f228f2 commit a748e0b52939875650cdadd8b94163548e03e8c5 @mworrell mworrell committed Aug 29, 2013
Showing with 6 additions and 8 deletions.
  1. +6 −8 priv/erlang.config.in
View
14 priv/erlang.config.in
@@ -1,13 +1,11 @@
%% -*- mode: erlang -*-
-[{lager,
+[
+ {lager,
[{handlers,
- [{lager_console_backend, info},
- {lager_file_backend,
- [{file, "priv/log/error.log"},
- {level, error}, {size, 10485760}, {date, "$D0"}, {count, 5}]},
- {lager_file_backend,
- [{file, "priv/log/console.log"},
- {level, info}, {size, 10485760}, {date, "$D0"}, {count, 5}]}
+ [
+ {lager_console_backend, info},
+ {lager_file_backend, [{file, "priv/sasl/error.log"}, {level, error}]},
+ {lager_file_backend, [{file, "priv/sasl/console.log"}, {level, info}]}
]},
{crash_log, "priv/log/crash.log"}
]},

0 comments on commit a748e0b

Please sign in to comment.