Refactor Site Router and add logs (#4598)
Refactor Site Router and add logs (#4598)

* refactor and log error

* resolved pr comments

projectkudu/AzureFunctions,projectkudu/AzureFunctions,projectkudu/AzureFunctions,projectkudu/AzureFunctions