Link to home
Start Free TrialLog in
Avatar of ANAT2403
ANAT2403Flag for Israel

asked on

location of a log file in asp.net 2.0

In ASP.NET 2.0 with C# When I have error I show an error page for the user and I also write all the details of the error into a log file for the managers of the site.
This file is located in "~/logs/ErrorLogWS.txt".
In order to write to this file I had to give permissions to the USER group in the IIS otherwise the writing was denied. Is it O.k. to put the errorlog in the place of the site or is their another recomendation.
Thankyou
Anat
ASKER CERTIFIED SOLUTION
Avatar of davecorun
davecorun

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial