Browse Source

Merge pull request #2 from 2600hz/KAZOO-929

update lager format string to properly get the callid into the log line
3.17
bitbashing 13 years ago
parent
commit
78da5c325f
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, [ ,{lager_file_backend, [
{file, "log/console.log"}, {level, info}, {size, 10485760}, {date, "$D0"}, {count, 5} {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} {colored, false}
,{error_logger_hwm, 500}
]} ]}
]. ].

Loading…
Cancel
Save