We maintain an old Asp.Net Web Forms application used by thousands of clients. The application (upgraded to .NET 4.5.2) writes logs via NLog(v.4.4.10), abstracted by LibLog(v.4.2). No problems here.
One important client requested to have its own custom URL to our app. We provided this though the following steps:
All of the above works fine, requests are being redirected and processed. IIS logs look fine too. However, no application logs are written for these redirected requests.
What makes the application logs to disappear? Any thoughts would be helpful. Many thanks in advance.
It's been a while since we found out what the problem was. It appears that two different applications pools were mistakenly used at the same time - one for original web site and another one for the new web site. Once we started to use the same app pool name for both, the logs started to come in.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.