From beb163f63a1c1735454a81abcaeaf7e50256e873 Mon Sep 17 00:00:00 2001 From: Petr Heinz Date: Fri, 2 Oct 2026 18:15:12 +0200 Subject: [PATCH] Restore the config.logtail.enabled paragraph in the README The merge of #68 replaced the paragraph #60 added instead of keeping both. Put it back above the example-project link. Co-Authored-By: Claude Fable 5.1 --- README.md | 2 ++ 1 file changed, 2 insertions(+) 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?