Browse Source

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

Kazoo 929
3.12
bitbashing 13 years ago
parent
commit
2a0cc994b6
2 changed files with 30 additions and 0 deletions
  1. +15
    -0
      app.config
  2. +15
    -0
      vm.args

+ 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}
]}
].

+ 15
- 0
vm.args View File

@ -0,0 +1,15 @@
# Tell SASL not to log progress reports, and log SASL errors to a file
-sasl errlog_type error
-sasl sasl_error_logger '{file, "log/error_log.sasl"}'
-boot start_sasl
-config /etc/kazoo/app.config
# Use kernel poll functionality if supported by emulator
+K true
# Start a pool of asynchronous IO threads
+A 2
# Comment this line out if you want the Erlang shell
+Bd

Loading…
Cancel
Save