From 9ec3499e9bdeb67f874ca246f22200a83a07a728 Mon Sep 17 00:00:00 2001 From: Derek Brown Date: Mon, 28 Jul 2014 17:35:21 -0400 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d234c8..d075dce 100644 --- a/README.md +++ b/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