TwP / logging

A flexible logging library for use in Ruby programs based on the design of Java's log4j library.
https://rubygems.org/gems/logging
MIT License
529 stars 100 forks source link

added test_file_move test #205

Closed lzap closed 2 years ago

lzap commented 5 years ago

Sup, I was having some troubles with file reopening until I realized I was not calling flush or close. It works fine, well here is a unit test I wrote if you want it in the codebase. Cheers!

lzap commented 5 years ago

There seem to be some race condition in test/appenders/test_async_flushing.rb:164:in test_async_writes' ?

lzap commented 2 years ago

Closing, feel free to take it from here if you think this patch is useful. Cheers!