diff --git a/README.md b/README.md index 1c83a24..44a8aa8 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ Experience SQL-compatible structured log management based on ClickHouse. [Learn [Getting started ⇗](https://betterstack.com/docs/logs/ruby-and-rails/#logging-from-rails) +To turn the integration off in an environment, e.g. development or test, set `config.logtail.enabled = false` in `config/environments/.rb`. Rails then logs to `log/.log` as usual, even if `config/application.rb` creates the Better Stack logger. + [Example project](example-project/README.md): logging, structured data and [adding context to every log line of a request](example-project/README.md#context). ## Need help?