Browse Source

KAZOO-929: add app.config for lager config

3.12
James Aimonetti 13 years ago
parent
commit
e6e837ba5d
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      app.config

+ 15
- 0
app.config View File

@ -0,0 +1,15 @@
[
{lager, [
{handlers, [
{lager_console_backend, info}
,{lager_file_backend, [
{file, "log/error.log"}, {level, error}, {size, 10485760}, {date, "$D0"}, {count, 5}
]}
,{lager_file_backend, [
{file, "log/console.log"}, {level, info}, {size, 10485760}, {date, "$D0"}, {count, 5}
]}
,{lager_syslog_backend, ["2600hz", local0, debug, {lager_kazoo_formatter,["|", {callid, <<"0000000000">>}, "|", module, ":", line, " (",pid, ") ", message, "\n"]}]}
]},
{colored, false}
]}
].

Loading…
Cancel
Save