Comments (4)
As I remember this is normal workflow. Do you use some controller/action for 404 routing errors? Or you need log such errors?
from mongodb_logger.
I just have the standard Rails 404.html. An example of the error is, I am using ActiveScaffold gem and had a config parameter incorrectly named. This gave the error:
Routing Error
undefined method `page_links_inner_window=' for #<ActiveScaffold::Config::List:0xaf2c934>
I noted that nothing was added to the mongodb log. The error did appear in the standard development.log file.
from mongodb_logger.
$ rake middleware
use ActionDispatch::Static
use Rack::Lock
use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x007fb40c131e48>
use Rack::Runtime
use Rack::MethodOverride
use ActionDispatch::RequestId
use Rails::Rack::Logger
use ActionDispatch::ShowExceptions
use ActionDispatch::DebugExceptions
use ActionDispatch::RemoteIp
use ActionDispatch::Reloader
use ActionDispatch::Callbacks
use ActiveRecord::ConnectionAdapters::ConnectionManagement
use ActiveRecord::QueryCache
use ActionDispatch::Cookies
use ActionDispatch::Session::CookieStore
use ActionDispatch::Flash
use ActionDispatch::ParamsParser
use ActionDispatch::Head
use Rack::ConditionalGet
use Rack::ETag
use ActionDispatch::BestStandardsSupport
run ExampleMongodbLogger::Application.routes
The routing error handled by "use ActionDispatch::DebugExceptions" middleware, so mongodb_logger coudn't handle it, because it work in controller.
from mongodb_logger.
If you will handle "Routing Error" by some controller/action, mongodb_logger should catch it.
from mongodb_logger.
Related Issues (20)
- assets are not loaded in staging and production HOT 14
- Messages node is empty HOT 5
- Can't add metadata to logs! HOT 8
- Having trouble with setup on Heroku HOT 5
- Log messages (debug/info/warn etc.) don't show up HOT 8
- You do not use capped collection for logs HOT 3
- How to log message from Rails Console or Resque Jobs HOT 2
- How catch logs from some Rails::Engine's? HOT 16
- rake task to recreate capped collection when size is changed HOT 7
- Mongodb logger exception on server HOT 2
- How to catch MOPED logs? HOT 3
- Not working with moped 2.0 beta/beta2 HOT 3
- Production logs not created when mongodb_logger can't connect HOT 10
- Uninitialized constant BSON HOT 8
- I Have error in Production: HOT 8
- Is is possible to get or record response status code? HOT 2
- Filter what to log to MongoDB HOT 1
- Mongoid 5.1 support HOT 1
- Rails 5 support 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 mongodb_logger.