Comments (3)
Sounds good to me.
Standard Lograge has: config.lograge.keep_original_rails_log = true
Perhaps something along the lines of: config.lograge_sql.keep_default_active_record_log = true
would make sense
from lograge-sql.
Hi @seanturner026, I’m afraid that’s not possible at the moment as I didn’t foresee such a situation.
A PR is welcome to disable the default behaviour with some sort of configuration.
Given that just requiring the file is enough to disable it, I’d suggest the use of an ENV variable. How does that sound?
from lograge-sql.
Sounds good!
from lograge-sql.
Related Issues (16)
- Rails 5 support
- SQL logs appear even in :info level? HOT 5
- Why isn't SQL no longer displaying? HOT 3
- lograge-sql.gemspec locks rails version to < 6, but 6 has been released HOT 2
- New release for Rails 6 support? HOT 2
- queries executed in rails initializers and queries executed outside of request scope HOT 2
- uninitialized constant Lograge::ActiveRecordLogSubscriber (NameError) HOT 4
- Query Runtime is Summed Twice HOT 2
- Option to separate SQL logs from request log lines HOT 2
- Sql Query are not logged and getting an exception HOT 2
- Filtering out sensitive info in SQL logs HOT 3
- Rails 7.1 deprecation warnings HOT 2
- Lograge failing with Rails 7.0 HOT 3
- NoMethodError: undefined method `extract_event' for Lograge::Sql:Module HOT 10
- Lograge v0.11.0 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lograge-sql.