Sunday, March 29, 2015

Log class in use by diffrent windows services


I got solution with couple of projects including 3 windows services projects and one logger project which is shared class. Due to all services are using same logger project class i need a lock to avoid "process cannot access file because of another process..". In this situation 3 separated services writing to this logger. I made mutex and have two question for you.





Each application should have its on ability to log to its own log. No log sharing should be done across applications.


I suggest that you learn how to use Log4Net per application basis.


http://ift.tt/WQ9yjq


No comments:

Post a Comment