README.md in lograge-sql-1.1.0 vs README.md in lograge-sql-1.2.0
- old
+ new
@@ -21,9 +21,15 @@
```ruby
# config/initializers/lograge
require 'lograge/sql/extension'
```
+By default, Lograge::Sql disables default logging on ActiveRecord. To preserve default logging, add this to your lograge initializer:
+
+```ruby
+config.lograge_sql.keep_default_active_record_log = true
+```
+
## Customization
By default, the format is a string concatenation of the query name, the query duration and the query itself joined by `\n` newline:
```