Sorry I was caught up in the name to name to name changes and I'm confused.
What I currently doing is using a web api and when a get or post hits on controllerA, I change the name and write a value (do not change the name back) then when I get another call get post etc on controllerB I change the name and write a value (do not change the name back), so I'm not sure what will happen if call A changes the name and while continues to scroll down to write the value, service B reaches and change the name a micromillysecond before service A writes the value. Let my clarify that the log object is different per controller when declared, so I have
log4net.LogManager.GetLogger(typeof(controllerA))
and
log4net.LogManager.GetLogger(typeof(controllerB))
for the different controller calls. Does this make any difference? I don't have a clue.




Reply With Quote