Created by: cloudmu
This will change the http-proxy-middle logLevel option from 'silent' to 'error' in development mode.
Errors are bound to occur when proxying API requests to an API server during development, for various reasons such as forgetting to start the API server or using an incorrect port. With 'silent' option, no error message will be shown in the command line console at all, which can be confusing. With 'error' option, the console will show a very concise and informative error message, which helps to quickly pinpoint to the issues.
For example, following is an example of the error message (caused by not starting the API server) in the command line console: