Add logging to shader_init.