Browse Source

mention log_root variable in README.md

pull/241/head
Danil Zagoskin 10 years ago
parent
commit
e0a7d02815
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      README.md

+ 3
- 0
README.md View File

@ -77,6 +77,7 @@ your app.config):
```erlang ```erlang
{lager, [ {lager, [
{log_root, "/var/log/hello"},
{handlers, [ {handlers, [
{lager_console_backend, info}, {lager_console_backend, info},
{lager_file_backend, [{file, "error.log"}, {level, error}]}, {lager_file_backend, [{file, "error.log"}, {level, error}]},
@ -85,6 +86,8 @@ your app.config):
]}. ]}.
``` ```
```log_root``` variable is optional, by default file paths are relative to CWD.
The available configuration options for each backend are listed in their The available configuration options for each backend are listed in their
module's documentation. module's documentation.

Loading…
Cancel
Save