Add format for logging with nosetests.