Avoid an error message due to unitialized logger