Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #27792 from tjoyal/sandbox-tagged-logging | Rafael Mendonça França | 2018-09-11 | 1 | -8/+21 |
|\ | | | | | | | TaggedLogging to return a new logger instance | ||||
| * | TaggedLogging to return a new logger instance | Thierry Joyal | 2017-02-27 | 1 | -8/+21 |
| | | |||||
* | | Merge pull request #28171 from sorra/fresh-thread-tagged-logging | Ryuta Kamizono | 2018-02-03 | 1 | -1/+2 |
|\ \ | | | | | | | Improve test for TaggedLogging "keeps each tag in their own thread" | ||||
| * | | Improve test for TaggedLogging "keeps each tag in their own thread" | Dongqing Hu | 2017-02-26 | 1 | -1/+2 |
| |/ | |||||
* | | Use respond_to test helpers | Daniel Colson | 2018-01-25 | 1 | -1/+1 |
| | | |||||
* | | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | | |||||
* | | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | | |||||
* | | 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 |
|/ | |||||
* | applies new string literal convention in activesupport/test | Xavier Noria | 2016-08-06 | 1 | -9/+9 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Tweaked wording used in some tests. | Sebastian McKenzie | 2015-10-25 | 1 | -6/+6 |
| | |||||
* | Fix TaggedLogging to allow loggers to be instantiated multiple times without ↵ | Alexander Staubo | 2013-01-24 | 1 | -0/+13 |
| | | | | having to share the stack of tags. This is accomplished by using a unique key for the thread-local tag list. Fixes #9064. | ||||
* | Allow wrapping a logger that hasn't set a formatter. Default to our ↵ | Jeremy Kemper | 2012-09-26 | 1 | -0/+8 |
| | | | | SimpleFormatter. Otherwise we try extending nil with the tagging API. | ||||
* | Add logger.push_tags and .pop_tags to complement logger.tagged | Jeremy Kemper | 2012-09-26 | 1 | -0/+17 |
| | |||||
* | Revert "Use join without default separator" | José Valim | 2012-08-23 | 1 | -0/+5 |
| | | | | | | This reverts commit b0ab8dc0b2b0f580ffe5ac9ff57fd13152e18577 because it was removing the contents of the message when we did not have any tag. A test case is also committed. | ||||
* | Revert "Merge pull request #7084 from LTe/logger_default_separator" | Aaron Patterson | 2012-07-18 | 1 | -13/+2 |
| | | | | | This reverts commit c08f30ff5fcda7e07cd9275a073acb2091e4b3f7, reversing changes made to e243a8a32eb4c8777f07ca4b974bd7e38d9477d3. | ||||
* | Don't use default separator | Piotr Niełacny | 2012-07-18 | 1 | -2/+13 |
| | | | | When the default separator is set logger will create incorrect output | ||||
* | Provide access to logger instance within TaggedLogging blocks | FND | 2012-03-19 | 1 | -1/+6 |
| | | | | | | | | | | this improves encapsulation, simplifying occurrences like the following: Rails.logger.tagged("DEBUG") { Rails.logger.debug(msg) } ... by removing the need to rely on (i.e. repeat) outer variables: Rails.logger.tagged("DEBUG") { |logger| logger.debug(msg) } | ||||
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger | Aaron Patterson | 2011-12-19 | 1 | -2/+2 |
| | | | | from Ruby stdlib. | ||||
* | Checking blank if tag might coming nil or blank | Arun Agrawal | 2011-10-21 | 1 | -0/+5 |
| | | | In log it should not show the empty array. | ||||
* | Ensure TaggegLogging is thread safe. | José Valim | 2011-10-19 | 1 | -1/+29 |
| | |||||
* | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵ | David Heinemeier Hansson | 2011-10-19 | 1 | -0/+34 |
production concerns |