Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use join without default separator | Piotr Niełacny | 2012-07-20 | 1 | -2/+2 |
| | | | | Use lstrip method | ||||
* | Revert "Merge pull request #7084 from LTe/logger_default_separator" | Aaron Patterson | 2012-07-18 | 1 | -1/+1 |
| | | | | | This reverts commit c08f30ff5fcda7e07cd9275a073acb2091e4b3f7, reversing changes made to e243a8a32eb4c8777f07ca4b974bd7e38d9477d3. | ||||
* | Don't use default separator | Piotr Niełacny | 2012-07-18 | 1 | -1/+1 |
| | | | | When the default separator is set logger will create incorrect output | ||||
* | removing unnecessary 'examples' noise from activesupport | Francesco Rodriguez | 2012-05-13 | 1 | -1/+1 |
| | |||||
* | Provide access to logger instance within TaggedLogging blocks | FND | 2012-03-19 | 1 | -1/+1 |
| | | | | | | | | | | 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) } | ||||
* | make the tagged formatter extend the existing formatter | Aaron Patterson | 2012-03-12 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-21 | 1 | -5/+5 |
|\ | |||||
| * | Why do we even need a constant here? A variable is fine. | Semyon Perepelitsa | 2012-01-21 | 1 | -4/+4 |
| | | |||||
| * | TaggedLogging wraps an object, not a class. | Semyon Perepelitsa | 2012-01-21 | 1 | -1/+1 |
| | | |||||
| * | Do not use the same Logger constant for class (from stdlib) and for instance ↵ | Semyon Perepelitsa | 2012-01-21 | 1 | -4/+4 |
| | | | | | | | | (from the example) | ||||
* | | move tagged logging to a module, stop proxying every method call | Aaron Patterson | 2012-01-19 | 1 | -36/+32 |
|/ | |||||
* | simplify some TaggedLogging methods | Sergey Nartimov | 2012-01-18 | 1 | -2/+2 |
| | |||||
* | use thread variable in TaggedLogging | Sergey Nartimov | 2012-01-17 | 1 | -3/+2 |
| | | | | previous solution can cause race conditions under GIL-free ruby implementations | ||||
* | Remove Array.wrap calls in ActiveSupport | Rafael Mendonça França | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | A few doc changes | Vijay Dev | 2011-12-24 | 1 | -3/+3 |
| | |||||
* | Fix AS test suite. | José Valim | 2011-12-10 | 1 | -0/+1 |
| | |||||
* | * ActiveSupport::BufferedLogger#silence is deprecated. If you want to squelch | Aaron Patterson | 2011-12-09 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | logs for a certain block, change the log level for that block. * ActiveSupport::BufferedLogger#open_log is deprecated. This method should not have been public in the first place. * ActiveSupport::BufferedLogger's behavior of automatically creating the directory for your log file is deprecated. Please make sure to create the directory for your log file before instantiating. * ActiveSupport::BufferedLogger#auto_flushing is deprecated. Either set the sync level on the underlying file handle like this: f = File.open('foo.log', 'w') f.sync = true ActiveSupport::BufferedLogger.new f Or tune your filesystem. The FS cache is now what controls flushing. * ActiveSupport::BufferedLogger#flush is deprecated. Set sync on your filehandle, or tune your filesystem. | ||||
* | Fix typo in AS::TaggedLogging | Claudio Poli | 2011-11-29 | 1 | -1/+1 |
| | |||||
* | Checking blank if tag might coming nil or blank | Arun Agrawal | 2011-10-21 | 1 | -1/+2 |
| | | | In log it should not show the empty array. | ||||
* | Ensure TaggegLogging is thread safe. | José Valim | 2011-10-19 | 1 | -13/+22 |
| | |||||
* | Programatically define the log level methods and use the Logger constants ↵ | David Heinemeier Hansson | 2011-10-19 | 1 | -23/+8 |
| | | | | instead (SyslogLogger didnt define them as I expected) | ||||
* | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵ | David Heinemeier Hansson | 2011-10-19 | 1 | -0/+68 |
production concerns |