Comments (3)
Hi!
This gem disables SQL logs by default, but itโs currently lacking an option to reenable them. An issue has already been opened for it (#11), so Iโm closing this one in favour of that.
from lograge-sql.
thanks @iMacTia ! the strange thing I noticed is that I see AR SQL for feature/Capybara specs, but no regular rspec ones. Is that also related? I thought I needed to change some settings.
from lograge-sql.
Mmmmh that's curious, but it might depend on the gem not being loaded for some environment.
Do you see lograge logs when you run feature/Capybara specs? If those are also missing, it might be that the environment those tests are running in is not the same.
Now that I think about it, when you say AR SQLs are not showing
, do you mean they don't appear in the lograge payload or that the default AR logs are not showing?
from lograge-sql.
Related Issues (16)
- Rails 5 support
- NoMethodError: undefined method `extract_event' for Lograge::Sql:Module HOT 10
- Lograge v0.11.0 support
- Prevent Default ActiveRecord Logging From Being Disabled HOT 3
- SQL logs appear even in :info level? HOT 5
- 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
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.