Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |