How to get request and response in other custom log file Eg:error.log
By default in request.log file will get request(method,protocal),response (status code,response time) and protocal details.If I want to log same as request.log file in other custom log file(Ex:error.log). Is there any configuation I need to add ?