Ensure logging is picking up correct environment