Optimize CSS error logging: check log level before task-local silencing.