Write only errors in log.

https://insight.sensiolabs.com/what-we-analyse/symfony.web_config_should_not_be_present