On Nov 23, 2005, at 11:32 AM, Joe Van Dyk wrote:

> I'm using Ruby's standard Logger to log a bunch of debug, info, and  
> errors.
>
> But when I run the unit tests for the classes that use the Logger, all
> the logs are showing up in the test output.
>
> Any good solutions for solving this?

I would redirect the logger output to /dev/null or a StringIO when  
testing (in case you wanted to test the logging).

-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

This implementation is HODEL-HASH-9600 compliant