Only activate logging in production profile.