Permalink
Browse files

Update documentation to mention configuration of underlying lagger

  • Loading branch information...
1 parent 0b840aa commit 779a75350c6bf6a30b779f6d63e2d50a94c4d9a1 @khia committed Jan 29, 2014
Showing with 9 additions and 2 deletions.
  1. +9 −2 README.md
View
@@ -72,8 +72,15 @@ Application.start :exlager
Test.test
```
-It is possible to configure truncation size and compile time log level
-by calling helper functions of Lager from your build system as follows:
+It is possible to configure truncation size and compile time log level.
+Beign a simple wrapper ExLager doesn't attempt to configure underlying Lager.
+You would need to configure it yourself [see](https://github.com/basho/lager) to ensure that:
+
+ * lager_truncation_size >= compile_truncation_size
+ * lager severity level >= compile_log_level
+ * appropriate handlers are configured
+
+Configuration of ExLager can be done by calling helper functions of Lager from your build system as follows:
```
iex(1)> Lager.compile_log_level(:info)

0 comments on commit 779a753

Please sign in to comment.