0
다른 제 3 자의 com dll과 상호 작용하는 내 Windows 기반 .net 응용 프로그램에서 log4net 기능을 사용하고 있습니다. 그래서 나는 로그 파일이 로깅을 위해 작성한 많은 다른 정보로 로그를 볼 수 있었다. 그래서 나는 우리가 로그하려고 의도 한 정보만을 기록 할 수 있도록 모든 구성을 놓친 것인지 알고 싶습니다.log4net 로그 파일 우리가 작성한 다른 많은 정보가있는 로그를 얻으십시오.
자세한
application : c# windows based 3.5 .net framework log4net version: 1.2
샘플
2013-11-26 05:16:11,481 [15] INFO - TKS.DataDriver.DataDriver - LoadWorkBook : start LoadWorkBook operation
2013-11-26 05:16:13,653 [15] INFO - TKS.DataDriver.MsExcel.Common - inside method IsFileLocked
2013-11-26 05:16:19,028 [15] INFO - TKS.DataDriver.DataDriver - MergeTestCaseEntities : Merging all Test Case Entities.
2013-11-26 05:16:19,028 [15] INFO - TKS.DataDriver.DataDriver - LoadWorkBook : monitoringFlag: False MonitorQTPstatusOnOff: ON
2013-11-26 05:16:19,028 [15] INFO - TKS.DataDriver.DataDriver - LoadWorkBook : Asyncronus call for status check of the QTP.
2013-11-26 05:16:19,028 [15] INFO - TKS.DataDriver.DataDriver - DataLoadTestSet : DataLoad method call completed and result is : True
2013-11-26 05:16:19,028 [15] INFO - LogCatReplay - CProxy_IQTFuncLibMgrEvents::FireHelper Start. DispID = 4 Func=CProxy_IQTFuncLibMgrEvents<class CQTFuncLibMgr>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionengine\qtfunclibmgrcp.h Line=16 ThreadID=4636
2013-11-26 05:16:19,028 [15] INFO - LogCatReplay - UnitExecutionEngine: CProxy_IQTASUnitExecutionEngineEvents::FireHelper Start. DispID = 7 Func=CProxy_IQTASUnitExecutionEngineEvents<class CQTASUnitExecutionEngine>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionengine\qtasunitexecutionenginecp.h Line=15 ThreadID=4636
2013-11-26 05:16:19,028 [15] INFO - LogCatReplay - UnitExecutionEngine: CProxy_IQTASUnitExecutionEngineEvents::FireHelper End Func=CProxy_IQTASUnitExecutionEngineEvents<class CQTASUnitExecutionEngine>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionengine\qtasunitexecutionenginecp.h Line=39 ThreadID=4636
2013-11-26 05:16:19,043 [16] INFO - TKS.DataDriver.DataDriver - MonitorQTPstatus kick ON Now.
2013-11-26 05:16:19,059 [1] INFO - HP.QTP.QEEE.ExecutionMediator.Execution.ExecutionStatusResolver - Instance 0: Runtime status is updated to Done(micGeneral)
2013-11-26 05:16:19,059 [15] INFO - LogCatReplay - CProxy_IQTFuncLibMgrEvents::FireHelper Start. DispID = 5 Func=CProxy_IQTFuncLibMgrEvents<class CQTFuncLibMgr>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionengine\qtfunclibmgrcp.h Line=16 ThreadID=4636
2013-11-26 05:16:19,059 [15] INFO - LogCatReplay - UnitExecutionEngine: CProxy_IQTASUnitExecutionEngineEvents::FireHelper Start. DispID = 8 Func=CProxy_IQTASUnitExecutionEngineEvents<class CQTASUnitExecutionEngine>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionengine\qtasunitexecutionenginecp.h Line=15 ThreadID=4636
2013-11-26 05:16:19,059 [15] INFO - LogCatReplay - cCProxy_IQTTestExecutionEngineEvents::FireHelper Start. DispID = 16 Func=CProxy_IQTTestExecutionEngineEvents<class CQTTestExecutionEngine>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionengine\qttestexecutionenginecp.h Line=15 ThreadID=4636
2013-11-26 05:16:19,059 [1] INFO - LogCatReplay - ExecutionSite: CProxy_IQTTestExecutionEngineEvents::FireHelper Start. DispID = 16 Func=CProxy_IQTTestExecutionEngineEvents<class CQTTestExecutionSite>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionsite\qttestexecutionsitecp.h Line=17 ThreadID=880
2013-11-26 05:16:19,059 [1] INFO - LogCatReplay - ExecutionSite: CProxy_IQTTestExecutionEngineEvents::FireHelper End Func=CProxy_IQTTestExecutionEngineEvents<class CQTTestExecutionSite>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionsite\qttestexecutionsitecp.h Line=41 ThreadID=880
2013-11-26 05:16:19,059 [15] INFO - LogCatReplay - ExecutionEngine: CProxy_IQTTestExecutionEngineEvents::FireHelper End Func=CProxy_IQTTestExecutionEngineEvents<class CQTTestExecutionEngine>::FireHelper File=e:\ft\qtp\win32_release\11.52.467.0_clean\qtp\backend\executionengine\app\qtexecutionengine\qttestexecutionenginecp.h Line=52 ThreadID=4636
다른 로거 어셈블리 이름이 TKS.DataDriver.MsExcel.Common이므로 여기에 한 가지 문제가 있습니다. 따라서 이름이 "TKS"로 시작하는 로거를 허용하고 싶습니다. – sandeepmaurya