Skip to content

Commit

Permalink
Fix lager 2.0.0 backend settings format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey.Saltanov authored and Alexey.Saltanov committed Jan 22, 2014
1 parent 05b27ab commit 064b9de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/basho_bench.erl
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ main(Args) ->
application:set_env(lager,
handlers,
[{lager_console_backend, ConsoleLagerLevel},
{lager_file_backend,
[ {ErrorLog, error, 10485760, "$D0", 5},
{ConsoleLog, debug, 10485760, "$D0", 5} ]} ]),
{lager_file_backend, [{file, ErrorLog}, {level, error}, {size, 10485760}, {date, "$D0"}, {count, 5}]},
{lager_file_backend, [{file, ConsoleLog}, {level, debug}, {size, 10485760}, {date, "$D0"}, {count, 5}]}
]),
application:set_env(lager, crash_log, CrashLog),
lager:start(),

Expand Down

0 comments on commit 064b9de

Please sign in to comment.