|
-
Dec 22nd, 2010, 04:22 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] write logfile to webserver
During wcf development, I use a log file (using streamwriter) which gets written into my local machine's c drive (c:\serviceactivity.log)
This way I can see the activities inside the .svc file.
After deploying the site to the webserver, how do I see this file.
I do not see the serviceactivity.log file in the c drive of the webserver.
Question:
How do I get the log file to write into the c drive?
Thanks
-
Dec 22nd, 2010, 05:47 AM
#2
Re: write logfile to webserver
The account running the webservice doesn't have permissions to write to the c:\ (is shouldn't have permissions either).
You should write the logfile to a location that is granted for that account.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|