logging shader problems