On Sep 13, 2010, at 10:59 AM, Ed Leafe wrote:
>> 2. Did you have to do anything which you thought of as a workaround due to
>> some
>> limitation of the logging package?
>
> I wanted to create default loggers that write to files, but set them by
> default to not do anything. This should be possible by setting the default
> output file to os.devnull, but we found its behavior on Windows inconsistent,
> so I turned off file logging.
Oh, I should mention that I did try the NullHandler approach (killing
the emit() method), but it seemed messier than just turning file logging off.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]