Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Log the remote IP addr of clients behind a proxy | Atul Bhosale | 2018-07-31 | 1 | -1/+1 |
| | | | | [Atul Bhosale, Victor Nawothnig] | ||||
* | Stop mutating body response | Geoff Lee | 2018-04-03 | 1 | -3/+3 |
| | | | | | | If @app.call returns an object that is saved (for e.g., in a constant), the mutation results in a continuing cycle of wrapping the body in Rack::BodyProxy, eventually leading to SystemStackError ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ On branch fix-return-response-mutation-rack-logger - Tue 3 Apr 2018 19:54:28 PDT by Geoff Lee <geoff.lee@lendesk.com> | ||||
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Fix Rubocop violations and fix documentation visibility | Rafael Mendonça França | 2016-12-28 | 1 | -38/+38 |
| | | | | | | Some methods were added to public API in 5b14129d8d4ad302b4e11df6bd5c7891b75f393c and they should be not part of the public API. | ||||
* | Privatize unneededly protected methods in Railties | Akira Matsuda | 2016-12-25 | 1 | -13/+11 |
| | |||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -7/+7 |
| | |||||
* | applies new string literal convention in railties/lib | Xavier Noria | 2016-08-06 | 1 | -7/+7 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Remove unused private method | Syamil MJ | 2016-02-07 | 1 | -4/+0 |
| | |||||
* | Remove empty lines in Rails development logger | Jon Moss | 2016-01-24 | 1 | -6/+0 |
| | | | | | | This is causing bugs like #23215 to occur, due to the extra spaces being inserted. Also, this is fixed upstream in the upcoming release of Sprockets 4. | ||||
* | Tiny documentation edits [ci skip] | Robin Dupret | 2015-05-04 | 1 | -2/+3 |
| | | | | | | * Fix a few typos * Wrap lines to 80 chars * Use `+` instead of `<tt>` | ||||
* | Refer to the constructer argument in docs | Skye Shaw | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | More docs on tagged logging [ci skip] | sshaw | 2015-03-06 | 1 | -0/+3 |
| | | | | | Mention that tags can also come from a Proc that accepts the request object or something's to_s method | ||||
* | Prefer to pass block when logging. | Guo Xiang Tan | 2014-07-18 | 1 | -1/+1 |
| | | | | | | | | The Logger by default includes a guard which checks for the logging level. By removing the custom logging guards, we can decouple the logging guard from the logging action to be done. This also follows the good practice listed on http://guides.rubyonrails.org/debugging_rails_applications.html#impact-of-logs-on-performance. | ||||
* | instrumenter can't be cached because the app could be called from | Aaron Patterson | 2013-10-04 | 1 | -3/+4 |
| | | | | different threads. | ||||
* | "Naked" rescue clauses only catch StandardError subclasses. | thedarkone | 2013-08-06 | 1 | -1/+1 |
| | | | | Similar to #11497. | ||||
* | Use the right instrumentation name | Rafael Mendonça França | 2013-08-05 | 1 | -2/+2 |
| | | | | | | | | | The pattern is event.component Closes #11769 Conflicts: railties/CHANGELOG.md | ||||
* | fire a notification when the request stops / starts | Aaron Patterson | 2013-01-09 | 1 | -2/+17 |
| | |||||
* | extract logger and development checks to methods | Aaron Patterson | 2013-01-09 | 1 | -6/+16 |
| | |||||
* | make the extremely useful logs debug level | Aaron Patterson | 2012-11-09 | 1 | -2/+2 |
| | |||||
* | Gotta log each spacer line separately to ensure each is tagged | Jeremy Kemper | 2012-10-06 | 1 | -1/+4 |
| | |||||
* | Tag the blank log line between dev requests so it's easier to filter out ↵ | Jeremy Kemper | 2012-10-06 | 1 | -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 Kemper | 2012-09-26 | 1 | -14/+23 |
| | | | | logs. | ||||
* | Log newlines separately to ensure the 'Started GET ...' line has a tag on ↵ | Jeremy Kemper | 2012-09-25 | 1 | -1/+2 |
| | | | | the same line | ||||
* | Only apply log tags if the logger supports it | Jeremy Kemper | 2012-09-24 | 1 | -1/+1 |
| | |||||
* | Unify logger and taggedlogging middleware as both address logging concerns. | José Valim | 2011-10-19 | 1 | -12/+26 |
| | |||||
* | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵ | David Heinemeier Hansson | 2011-10-19 | 1 | -2/+2 |
| | | | | production concerns | ||||
* | Filter sensitive query string parameters in the log [#6244 state:committed] | Prem Sichanugrist & Xavier Noria | 2011-03-11 | 1 | -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 Koziarski | 2011-01-18 | 1 | -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é Valim | 2010-06-24 | 1 | -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 ↵ | wycats | 2010-06-04 | 1 | -3/+4 |
| | | | | methods | ||||
* | Add caller to request_uri deprecation notice | Carlhuda | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -3/+3 |
| | |||||
* | Clean up Rails::Rack::Logger. | José Valim | 2010-01-26 | 1 | -11/+7 |
| | |||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -0/+38 |
| | |||||
* | Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks. | Jeremy Kemper | 2008-12-18 | 1 | -28/+0 |
| | |||||
* | Cheaper log tail time comparison | Jeremy Kemper | 2008-12-18 | 1 | -3/+3 |
| | |||||
* | Added rack logger middleware that tails the environment log | Joshua Peek | 2008-08-19 | 1 | -0/+28 |