Use serilog for logging instead of RequestLoggingMiddleware
Next time, you can make it easier for you by using some of the external libraries, like https://serilog.net/, it would help you create detailed log easily.
ref: !8 (comment 988821)