%% -*- erlang -*- %% Thanks to Ulf Wiger at Ericcson for these comments: %% %% This file is identified via the erl command line option -config File. %% Note that File should have no extension, e.g. %% erl -config .../sys (if this file is called sys.config) %% %% In this file, you can redefine application environment variables. %% This way, you don't have to modify the .app files of e.g. OTP applications. [ {lager, [ {handlers, [ {lager_file_backend,[{file,"lager_log/debug.log"},{level,debug}]},{lager_console_backend,[debug,{lager_default_formatter, [date, " ", time, " [",severity,"] ", pid, module, ":", function, ":", line, " ", message, "\n"]}]}, {lager_file_backend, [{file, "lager_log/error.log"}, {level, error},{count,10}]}, {lager_file_backend, [{file, "lager_log/console.log"}, {level, info},{count,10}]} ] } ] } ].