Stop logging when requiring files for tests