Use different logging when testing