aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/buffered_logger_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Squash memory leak when calling flush with an empty bufferFrederick Cheung2008-12-101-0/+6
| | | | | | [#1552 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix test to not assume which thread finishes firstJeremy Kemper2008-08-291-1/+2
|
* Maintain a seperate buffer for each threadJoshua Peek2008-08-181-4/+25
|
* require fileutilsJeremy Kemper2008-03-311-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that BufferedLogger should create its own directory if one doesnt ↵David Heinemeier Hansson2008-03-131-0/+10
| | | | | | already exist (closes #11285) [lotswholetime] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct BufferedLogger#level? checks. Closes #9806.Jeremy Kemper2007-10-071-0/+7
| | | | 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 Kemper2007-10-041-0/+13
| | | | | | as a failsafe against memory-gobbling. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BufferedLogger#auto_flushing = N flushes the log every N messages. Buffers ↵Jeremy Kemper2007-10-031-7/+34
| | | | | | 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 Kemper2007-09-281-0/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BufferedLogger#add doesn't modify the message argument. Closes #9702.Jeremy Kemper2007-09-271-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include the testsDavid Heinemeier Hansson2007-09-251-0/+41
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de