Просмотр исходного кода

Merge pull request #227 from derek121/readme-file-config

Fix specification of backend config in log rotation example
pull/247/merge
Jon Meredith 10 лет назад
Родитель
Сommit
5295fa281d
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      README.md

+ 1
- 1
README.md Просмотреть файл

@ -219,7 +219,7 @@ use internal rotation, use the 'size', 'date' and 'count' values in the file
backend's config:
```erlang
[{name, "error.log"}, {level, error}, {size, 10485760}, {date, "$D0"}, {count, 5}]
[{file, "error.log"}, {level, error}, {size, 10485760}, {date, "$D0"}, {count, 5}]
```
This tells lager to log error and above messages to "error.log" and to

Загрузка…
Отмена
Сохранить