Browse Source

update lager format string to properly get the callid into the log line

3.17
James Aimonetti 13 years ago
parent
commit
4cf38df674
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app.config

+ 2
- 1
app.config View File

@ -8,8 +8,9 @@
,{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"]}]}
,{lager_syslog_backend, ["2600hz", local0, debug, {lager_kazoo_formatter,["|", {function, <<"0000000000">>}, "|", module, ":", line, " (",pid, ") ", message, "\n"]}]}
]},
{colored, false}
,{error_logger_hwm, 500}
]}
].

Loading…
Cancel
Save