Select to view content in your preferred language

Log file under web adapter

4535
1
01-02-2014 04:38 AM
KeisukeNozaki
Frequent Contributor
Log file under web adapter is increasing quickly.
I wonder if anyone knows how to disable logging.
Log file is located at C:\inetpub\wwwroot\arcgis\log.txt.
Thank you.
Tags (2)
0 Kudos
1 Reply
FraserHand
Frequent Contributor

Hi There,

So it's been a while since you posted this and you may have found a solution. But if not, that file gets created on the fly by the web adaptor if it doesn't exist and written to if the user the WA is running under has permissions on the directory / file. Since this is baked into the static Logger class in ESRI.ArcGIS.WebAdaptor.dll and not in a config file you can't change this behaviour. But you can delete the file and remove the appropriate permissions on the directory so it doesn't get recreated (which at 10.2.2 which I'm using seems to be the default as I wanted to enable it.) I haven't seen this documented anywhere so I would assume it's an Esri dev only type feature.

Cheers,

Fraser

Eagle Technology - NZ Esri Distributor