See my answer to the previous question. Maybe this will help, maybe not.
Summarizing:
Common.Logging(NET) -, "" "" .
-
, "" Common.Logging, "" Castle ( log4net ). Common.Logging. , , Common.Logging, Castle.
"" ILog/ILogger. , , :
log4net:
log4net.GlobalContext.Properties["BrokerID"] = 10;
:
ILog logger = Common.Logging.LogManager.GetCurrentClassLogger();
logger.GlobalContext.Properties["BrokerID"] = 10;
, . , , , . Common.Logging.LogManager , "" ( , / LogManager.Adapter). , , "" ILog, LogManager.Adapter.