[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Logging in the python tests

From: Hyrum K Wright <hyrum.wright_at_wandisco.com>
Date: Tue, 6 Mar 2012 16:29:40 -0600

After a bit of a bump today, I've added the use of the python logging
module to our test suite as a way of logging output from the test
framework and the tests themselves. The end goal is to remove all the
many print() calls we have in the tests, and run almost everything
through the logger, allowing us to better control where the log gets
sent to, its formatting, etc.

I'm sure I'll break more things along the way, and I've yet to fully
iron out the standards for using INFO vs. WARN vs. ERROR within the
tests, but I'd appreciate any insight or help or questions folks might
have as this transition goes forward.

-Hyrum

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com/
Received on 2012-03-06 23:30:13 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.