Jeremy Kemper
d1cbcd781b
Log newlines separately to ensure the 'Started GET ...' line has a tag on the same line
2012-09-25 20:27:26 -07:00
Jeremy Kemper
152e3ac3d2
Only apply log tags if the logger supports it
2012-09-24 14:07:10 -07:00
José Valim
c83d9a11c0
Unify logger and taggedlogging middleware as both address logging concerns.
2011-10-19 22:39:11 +02:00
David Heinemeier Hansson
afde6fdd5e
Added X-Request-Id tracking and TaggedLogging to easily log that and other production concerns
2011-10-19 12:59:33 -05:00
Prem Sichanugrist & Xavier Noria
68802d0fbe
Filter sensitive query string parameters in the log [ #6244 state:committed]
...
This provides more safety to applications that put secret information in the query string, such as API keys or SSO tokens.
Signed-off-by: Xavier Noria <fxn@hashref.com>
2011-03-11 00:16:18 +01:00
Michael Koziarski
199d1abeb2
Use the derived request_method from AD::Request rather than the raw REQUEST_METHOD from rack.
...
This takes _method into account so the log shows the method which ActionController sees.
2011-01-18 14:43:54 +13:00
José Valim
6788db824a
Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [ #4816 state:resolved]
2010-06-24 13:23:43 +02:00
wycats
67a2d648d8
Improve performance of the Logger middleware by using simpler versions of methods
2010-06-04 20:11:05 -07:00
Carlhuda
52efbdcdef
Add caller to request_uri deprecation notice
2010-03-03 21:24:00 -08:00
Prem Sichanugrist
f0523f72b4
Rename Rails::Subscriber to Rails::LogSubscriber
2010-02-16 22:36:15 +01:00
José Valim
081dfca33a
Clean up Rails::Rack::Logger.
2010-01-26 15:37:45 +01:00
José Valim
378464a2e4
Default to sync instrumentation.
2010-01-21 13:09:12 +01:00
Jeremy Kemper
a10e473b81
Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks.
2008-12-18 14:42:06 -08:00
Jeremy Kemper
6703f909c7
Cheaper log tail time comparison
2008-12-18 14:17:43 -08:00
Joshua Peek
e9ae2b2f4c
Added rack logger middleware that tails the environment log
2008-08-19 00:18:26 -05:00