Fixes logging arguments not lazy
Makes sure expected warnings are not fatal