Make the error reporting level configurable in the local configuration file

There is no input field to configure the error reporting level in the back end settings on purpose. It has to be changed manually in the local configuration file or in a custom extension.