aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/rack/logger.rb
Commit message (Collapse)AuthorAgeFilesLines
* make the extremely useful logs debug levelAaron Patterson2012-11-091-2/+2
|
* Gotta log each spacer line separately to ensure each is taggedJeremy Kemper2012-10-061-1/+4
|
* Tag the blank log line between dev requests so it's easier to filter out ↵Jeremy Kemper2012-10-061-3/+3
| | | | | | | | | | | | | entire requests with grep -v without leaving a stray newline behind. Example: # Tag asset requests so it's easy to filter them from dev logs config.log_tags = [ -> request { :assets if request.path.starts_with?(config.assets.prefix) }, -> request { request.uuid } ] # Watch the logs, ignoring asset requests $ tail -100f log/development.log | grep -v assets
* Tune up Rails::Rack::Logger. Only put space between requests in development ↵Jeremy Kemper2012-09-261-14/+23
| | | | logs.
* Log newlines separately to ensure the 'Started GET ...' line has a tag on ↵Jeremy Kemper2012-09-251-1/+2
| | | | the same line
* Only apply log tags if the logger supports itJeremy Kemper2012-09-241-1/+1
|
* Unify logger and taggedlogging middleware as both address logging concerns.José Valim2011-10-191-12/+26
|
* Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵David Heinemeier Hansson2011-10-191-2/+2
| | | | production concerns
* Filter sensitive query string parameters in the log [#6244 state:committed]Prem Sichanugrist & Xavier Noria2011-03-111-1/+1
| | | | | | 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>
* Use the derived request_method from AD::Request rather than the raw ↵Michael Koziarski2011-01-181-1/+1
| | | | | | REQUEST_METHOD from rack. This takes _method into account so the log shows the method which ActionController sees.
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-241-13/+11
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Improve performance of the Logger middleware by using simpler versions of ↵wycats2010-06-041-3/+4
| | | | methods
* Add caller to request_uri deprecation noticeCarlhuda2010-03-031-1/+1
|
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-3/+3
|
* Clean up Rails::Rack::Logger.José Valim2010-01-261-11/+7
|
* Default to sync instrumentation.José Valim2010-01-211-0/+38
|
* Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks.Jeremy Kemper2008-12-181-28/+0
|
* Cheaper log tail time comparisonJeremy Kemper2008-12-181-3/+3
|
* Added rack logger middleware that tails the environment logJoshua Peek2008-08-191-0/+28