I’ve created my own ILog and ILogFactory.
The LogEngine: ILog -> Saves logs to 3 places. I know. 2 of which I have being configured in the Factory when it creates a ILog instance.
However, the 3rd is dynamic based on who is logged in and I need to read base.SessionAs<CustomUserSession>() within the factory dynamically to accomplish switching logging location context.
When I call.
var log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
2 of logging methods are setup as the Factory does it; These 2 are the same for all users.
CO-Mingling of data is the issue. We aren’t able to co mingle log data.
Suggestions?
I don’t understand what the question is?