Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove deprecated `Rails::Rack::LogTailer` | Rafael Mendonça França | 2015-01-04 | 1 | -38/+0 |
| | |||||
* | edit pass over all warnings | Xavier Noria | 2014-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This patch uniformizes warning messages. I used the most common style already present in the code base: * Capitalize the first word. * End the message with a full stop. * "Rails 5" instead of "Rails 5.0". * Backticks for method names and inline code. Also, converted a few long strings into the new heredoc convention. | ||||
* | 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. | ||||
* | Deprecate Rails::Rack::LogTailer | Rafael Mendonça França | 2014-06-17 | 1 | -0/+4 |
| | | | | | | | | It was being used by Rails for show the development logs but since Rails 4 it is not being used anymore on the framework. This class seems to be private but it were part of the public API we are deprecating before removing. | ||||
* | More Warnings removed for ruby trunk | Arun Agrawal | 2013-11-01 | 1 | -1/+1 |
| | | | | Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb | ||||
* | 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 | ||||
* | exit with non-zero to signal failure | Hrvoje Šimić | 2013-05-13 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | and one more time | Aditya Sanghi | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | another attempt at the language | Aditya Sanghi | 2012-04-18 | 1 | -1/+1 |
| | |||||
* | stamp out ruby-debug19 with extreme prejudice :) | Aditya Sanghi | 2012-04-17 | 1 | -2/+2 |
| | |||||
* | Fix for log tailer when the log file doesn't exist. | Manu J | 2012-01-20 | 1 | -3/+7 |
| | |||||
* | rename ruby-debug to ruby-debug19 | Vishnu Atrai | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | Unify logger and taggedlogging middleware as both address logging concerns. | José Valim | 2011-10-19 | 2 | -48/+26 |
| | |||||
* | Simplify TaggedLogging symbol shortcuts (thanks Jose!) | David Heinemeier Hansson | 2011-10-19 | 1 | -7/+4 |
| | |||||
* | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵ | David Heinemeier Hansson | 2011-10-19 | 2 | -2/+41 |
| | | | | production concerns | ||||
* | Use again Rack's ContentLength middleware | Santiago Pastorino | 2011-10-18 | 1 | -38/+0 |
| | |||||
* | Removed AS core_ext/kernel/requires as it's not used and is bad practice. | Josh Kalderimis | 2011-05-23 | 1 | -4/+3 |
| | |||||
* | Temporarily ship with ContentLength middleware. | José Valim | 2011-05-20 | 2 | -5/+38 |
| | |||||
* | 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. | ||||
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Refactor log-tailer to depend on File#eof? rather than File#mtime | Curtis Cablegram | 2010-08-03 | 1 | -4/+1 |
| | | | | | | | | [#5220 state:resolved] Eliminate 1 instance variable and 1 local variable. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Change log-tailer to properly track multi-byte characters. | Curtis Cablegram | 2010-08-03 | 1 | -1/+1 |
| | | | | | | | | When end-of-line is represented within a file as "\r\n", it is represented in memory as a single "\n". This patch eliminates the discrepancy between size on disk and size in memory. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | 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 |
| | |||||
* | Merge remote branch 'fxn/master' | Jeremy Kemper | 2010-02-06 | 1 | -0/+2 |
|\ | |||||
| * | rack debugger needs active_support/core_ext/kernel/requires for ↵ | Xavier Noria | 2010-02-06 | 1 | -0/+2 |
| | | | | | | | | require_library_or_gem | ||||
* | | fix usage examples and more to use new invocations | RomD | 2010-02-06 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Clean up Rails::Rack::Logger. | José Valim | 2010-01-26 | 1 | -11/+7 |
| | |||||
* | Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵ | José Valim | 2010-01-26 | 1 | -41/+0 |
| | | | | any metal was declared. | ||||
* | Ensure metals and initializers in plugins are loaded. | José Valim | 2010-01-24 | 1 | -7/+22 |
| | |||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -0/+38 |
| | |||||
* | Move middleware builder back to Rails::Rack::Metal without losing the new ↵ | José Valim | 2010-01-17 | 1 | -0/+26 |
| | | | | behavior. | ||||
* | LogTailer should be invoked after all logs in threads were flushed. | José Valim | 2010-01-15 | 1 | -2/+2 |
| | |||||
* | Cleanup junk metal and revise API | Joshua Peek | 2010-01-10 | 1 | -59/+0 |
| | | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response. | ||||
* | Have script/* and Rakefile use the application object | Carlhuda | 2009-11-24 | 1 | -3/+1 |
| | |||||
* | Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs ↵ | David Heinemeier Hansson | 2009-11-23 | 1 | -0/+2 |
| | | | | [DHH] | ||||
* | Fix Rails::Rack::Static deprecated constant proxy | Jeremy Kemper | 2009-11-21 | 1 | -1/+1 |
| |