make logging optional so doesn't clog up minimal test reporter