Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28504

Change log file location for virtual directory or app

$
0
0
Hi. Our main application is located in 1 site under IIS.

Under that site, we have another application, our API (acccount.oursite.com/api)

The application + the api, are generating lot of logs information, and we need them.

Before, our api was on another site (api.oursite.com), but now we merge both for cross-domain ajax purpose.

Is it possible to tell IIS to log activity of /api in another directory? Actually, each site get its log folder (w3svc1, 2, ...) under our m:\iislog folder. We want to do an exception for the /api subapplication. It seems impossible, as the logfile setting is located in the applicationhost.config, under sitedefaults zone.

Can I override that setting in my /api/web.config file?
Thank you.

Viewing all articles
Browse latest Browse all 28504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>