I have a wcf service and I write log from inside this service. The log is written to a text file which will create a new file whenever the size becomes 1024 KB.
The location of the log is inside a subfolder the service is hosted.
The issue is sometimes, the log is not written. I cannot find the log written the folder. When I recycle the application pool of the WCF service , it starts working again. I cannot find what is happening here. Just want to ask you guys anybody face
the similar issues before.
Also, which account will be used to write to the log file. I use an impersonated account ( from the web.config of the service) for the WCF operation.
Appreciate your help