Click here to Skip to main content
15,891,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Our Wcf service uses log4net to write all message to Event viewer, right now I am using Thread id to group messages from one call. But when number of user increases it will be hard to group messages which belongs to one thread id or some time same thread id will be used again.

Is there any solution to overcome this, and group all messages from each user to single log event ?

I am in process of using StringBuilder to write all messages to one object and put that in log event.

Just throwing out there if any one had this situation before.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900