Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | deprecation warning when BufferedLogger is instantiated | Yves Senn | 2012-12-25 | 1 | -1/+11 |
| | |||||
* | ActiveSupport::BufferedLogger can be subclassed | Yves Senn | 2012-12-25 | 1 | -2/+6 |
| | |||||
* | remove unused requires | Sergey Nartimov | 2012-01-18 | 1 | -3/+0 |
| | |||||
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger | Aaron Patterson | 2011-12-19 | 1 | -118/+3 |
| | | | | from Ruby stdlib. | ||||
* | missing require in buffered logger | lest | 2011-12-13 | 1 | -0/+1 |
| | |||||
* | Try to keep people from calling the deprecated flush method. | Aaron Patterson | 2011-12-10 | 1 | -0/+5 |
| | |||||
* | * ActiveSupport::BufferedLogger#silence is deprecated. If you want to squelch | Aaron Patterson | 2011-12-09 | 1 | -79/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 threading issues with BufferedLogger. | Brian Durand | 2011-10-21 | 1 | -8/+36 |
| | |||||
* | Prefer each instead of for on activesupport | Guillermo Iguaran | 2011-05-24 | 1 | -1/+1 |
| | |||||
* | corrected a minor ruby19 variable name reuse warning | Josh Kalderimis | 2011-05-21 | 1 | -3/+3 |
| | |||||
* | set log encoding to BINARY, but still use text mode to output portable newlines | Xavier Noria | 2011-05-18 | 1 | -6/+9 |
| | |||||
* | make sure log file is written in binary mode. fixes #497 | Aaron Patterson | 2011-05-10 | 1 | -0/+2 |
| | |||||
* | simplifying buffered logger for easier and slightly more performant codes. ↵ | Aaron Patterson | 2011-04-26 | 1 | -9/+4 |
| | | | | pumpkin | ||||
* | Add missing require 'thread' to BufferedLogger. | José Valim | 2011-03-11 | 1 | -0/+1 |
| | |||||
* | fix mixed encoding logs can't be logged. | Kouhei Sutou | 2010-07-19 | 1 | -1/+5 |
| | | | | | | | [#4807 state:committed] Signed-off-by: Kouhei Sutou <kou@cozmixng.org> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove the random line at the beginning of every new log file | Tim Carey-Smith | 2009-10-29 | 1 | -1/+0 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -0/+4 |
| | |||||
* | Merge branch 'master' into cherry | Jeremy Kemper | 2009-04-20 | 1 | -8/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb | ||||
| * | Annotated metaprogramming code across ActiveSupport | Michael S. Klishin | 2008-12-28 | 1 | -8/+8 |
| | | |||||
* | | Explict class attribute accessor dependency | Jeremy Kemper | 2009-03-28 | 1 | -0/+2 |
| | | |||||
* | | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 1 | -7/+7 |
|/ | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Squash memory leak when calling flush with an empty buffer | Frederick Cheung | 2008-12-10 | 1 | -1/+4 |
| | | | | | | [#1552 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge with docrails | Pratik Naik | 2008-12-07 | 1 | -0/+2 |
| | |||||
* | Ensure old buffers get properly cleared to avoid leaking memory | Duff OMelia | 2008-09-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Maintain a seperate buffer for each thread | Joshua Peek | 2008-08-18 | 1 | -7/+12 |
| | |||||
* | Remove incomplete non-blocking logger functionality | Michael Koziarski | 2008-07-29 | 1 | -13/+1 |
| | |||||
* | Guard the logger's internal buffer to prevent major breakage on genuinely ↵ | Michael Koziarski | 2008-07-29 | 1 | -6/+14 |
| | | | | threaded environments | ||||
* | Fixed that BufferedLogger should create its own directory if one doesnt ↵ | David Heinemeier Hansson | 2008-03-13 | 1 | -0/+1 |
| | | | | | | already exist (closes #11285) [lotswholetime] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use non-blocking writing if available. Closes #10794 [lifofifo] | Michael Koziarski | 2008-01-13 | 1 | -3/+16 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: join the buffer array explicitly rather than relying on ↵ | Jeremy Kemper | 2007-12-19 | 1 | -1/+1 |
| | | | | | | to_s to flatten it git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use __FILE__ and __LINE__ for BufferedLogger severity methods | Jeremy Kemper | 2007-10-13 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Correct BufferedLogger#level? checks. Closes #9806. | Jeremy Kemper | 2007-10-07 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Disabling auto_flushing still flushes when the buffer hits a maximum size, ↵ | Jeremy Kemper | 2007-10-04 | 1 | -11/+10 |
| | | | | | | as a failsafe against memory-gobbling. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Explicitly convert the buffer array to a string before writing to head off ↵ | Jeremy Kemper | 2007-10-03 | 1 | -1/+1 |
| | | | | | | compatibility issues with outputs that don't fully quack like an IO. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | BufferedLogger#auto_flushing = N flushes the log every N messages. Buffers ↵ | Jeremy Kemper | 2007-10-03 | 1 | -7/+29 |
| | | | | | | with an array instead of string. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | BufferedLogger#add converts the message to a string. Closes #9724. | Jeremy Kemper | 2007-09-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Cleanup comment. References #9702, closes #9703. | Jeremy Kemper | 2007-09-27 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | BufferedLogger#add doesn't modify the message argument. Closes #9702. | Jeremy Kemper | 2007-09-27 | 1 | -1/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add BufferedLogger#add #9667 [tomafro] | David Heinemeier Hansson | 2007-09-25 | 1 | -6/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit ↵ | David Heinemeier Hansson | 2007-09-25 | 1 | -0/+79 |
with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [DHH] Changed the default logger from Ruby's own Logger with the clean_logger extensions to ActiveSupport::BufferedLogger for performance reasons [DHH]. (You can change it back with config.logger = Logger.new(/path/to/log, level).) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |