better log config to quieten errors in build.