Pratik Naik
|
e033b5d037
|
Merge docrails
|
2009-07-25 16:03:58 +01:00 |
|
Jeremy Kemper
|
685a53a360
|
Merge branch 'master' into cherry
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
|
2009-04-20 18:31:40 -07:00 |
|
Jeremy Kemper
|
1321b37212
|
Explict class attribute accessor dependency
|
2009-03-28 23:37:32 -07:00 |
|
Xavier Noria
|
a2270ef259
|
Inline code comments for class_eval/module_eval [#1657 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-12-28 19:49:28 +00:00 |
|
Michael S. Klishin
|
d77deb89d5
|
Annotated metaprogramming code across ActiveSupport
|
2008-12-28 13:21:10 +03:00 |
|
Frederick Cheung
|
9f69ff12d4
|
Squash memory leak when calling flush with an empty buffer
[#1552 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2008-12-10 15:07:34 -08:00 |
|
Pratik Naik
|
dbbae5e00e
|
Merge with docrails
|
2008-12-07 03:27:53 +01:00 |
|
Duff OMelia
|
e7cb8c844a
|
Ensure old buffers get properly cleared to avoid leaking memory
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-09-18 08:51:19 -05:00 |
|
Joshua Peek
|
96ab01e8f2
|
Maintain a seperate buffer for each thread
|
2008-08-18 23:36:13 -05:00 |
|
Michael Koziarski
|
d9452d3ab3
|
Remove incomplete non-blocking logger functionality
|
2008-07-29 20:01:25 +02:00 |
|
Michael Koziarski
|
a24398b647
|
Guard the logger's internal buffer to prevent major breakage on genuinely threaded environments
|
2008-07-29 19:49:38 +02:00 |
|
David Heinemeier Hansson
|
13ab55f737
|
Fixed that BufferedLogger should create its own directory if one doesnt already exist (closes #11285) [lotswholetime]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-13 01:54:34 +00:00 |
|
Michael Koziarski
|
4b7091f32a
|
Use non-blocking writing if available. Closes #10794 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-13 20:39:51 +00:00 |
|
Jeremy Kemper
|
40bff29889
|
Ruby 1.9 compat: join the buffer array explicitly rather than relying on to_s to flatten it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 09:40:58 +00:00 |
|
Jeremy Kemper
|
01919cee5f
|
Use __FILE__ and __LINE__ for BufferedLogger severity methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-13 21:40:12 +00:00 |
|
Jeremy Kemper
|
c90d31eb37
|
Correct BufferedLogger#level? checks. Closes #9806.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 18:54:36 +00:00 |
|
Jeremy Kemper
|
d0755b9814
|
Disabling auto_flushing still flushes when the buffer hits a maximum size, as a failsafe against memory-gobbling.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-04 19:52:10 +00:00 |
|
Jeremy Kemper
|
f2d7e51da2
|
Explicitly convert the buffer array to a string before writing to head off 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
|
2007-10-03 23:56:34 +00:00 |
|
Jeremy Kemper
|
748e6873c2
|
BufferedLogger#auto_flushing = N flushes the log every N messages. Buffers with an array instead of string.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-03 23:43:12 +00:00 |
|
Jeremy Kemper
|
ccb87e2f69
|
BufferedLogger#add converts the message to a string. Closes #9724.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-28 14:09:35 +00:00 |
|
Jeremy Kemper
|
ae165361c3
|
Cleanup comment. References #9702, closes #9703.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 06:16:20 +00:00 |
|
Jeremy Kemper
|
6f06ac6e1a
|
BufferedLogger#add doesn't modify the message argument. Closes #9702.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 04:50:58 +00:00 |
|
David Heinemeier Hansson
|
6f0390c957
|
Add BufferedLogger#add #9667 [tomafro]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-25 16:41:46 +00:00 |
|
David Heinemeier Hansson
|
79a9c7a702
|
Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit 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
|
2007-09-25 03:47:37 +00:00 |
|