Prevent nonsense log messages while loading layers.