소스 검색

Fix specification of backend config in log rotation example

The example in "Internal log rotation" includes the tuple
{name, "error.log"}

This apparently should be

{file, "error.log"}

as seen in other config examples in README.md.
pull/227/head
Derek Brown 10 년 전
부모
커밋
9ec3499e9b
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

불러오는 중...
취소
저장