aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/tagged_logging.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-211-5/+5
|\
| * Why do we even need a constant here? A variable is fine.Semyon Perepelitsa2012-01-211-4/+4
| |
| * TaggedLogging wraps an object, not a class.Semyon Perepelitsa2012-01-211-1/+1
| |
| * Do not use the same Logger constant for class (from stdlib) and for instance ↵Semyon Perepelitsa2012-01-211-4/+4
| | | | | | | | (from the example)
* | move tagged logging to a module, stop proxying every method callAaron Patterson2012-01-191-36/+32
|/
* simplify some TaggedLogging methodsSergey Nartimov2012-01-181-2/+2
|
* use thread variable in TaggedLoggingSergey Nartimov2012-01-171-3/+2
| | | | previous solution can cause race conditions under GIL-free ruby implementations
* Remove Array.wrap calls in ActiveSupportRafael Mendonça França2012-01-061-1/+1
|
* A few doc changesVijay Dev2011-12-241-3/+3
|
* Fix AS test suite.José Valim2011-12-101-0/+1
|
* * ActiveSupport::BufferedLogger#silence is deprecated. If you want to squelchAaron Patterson2011-12-091-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::TaggedLoggingClaudio Poli2011-11-291-1/+1
|
* Checking blank if tag might coming nil or blankArun Agrawal2011-10-211-1/+2
| | | In log it should not show the empty array.
* Ensure TaggegLogging is thread safe.José Valim2011-10-191-13/+22
|
* Programatically define the log level methods and use the Logger constants ↵David Heinemeier Hansson2011-10-191-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 Hansson2011-10-191-0/+68
production concerns