Windows용 BaroPAM을 디버깅 하기 위해서는 "c:\temp\baropam_trace.txt" 파일을 생성한 다음 파일 내용으로 "trace=on"을 설정 한 후 저장하면 된다. 디버깅을 종료하고 싶으시면 "trace=off"로 설정하거나 "baropam_trace.txt"를 삭제하시면 된다. 디버깅을 설정하시면 "c:\temp\BaroPAM_CP_buglog.txt"이 생성되며 파일 내에 디버깅 메시지를 남긴다.
baropam_trace.txt)
trace=on |
BaroPAM_CP_buglog.txt)
[16-07-2024 10:17:55](11332 | 13624)[Dll.cpp:238] Dll:DllMain [16-07-2024 10:17:55](11332 | 13624)[Dll.cpp:239] SYSTEM [16-07-2024 10:17:55](11332 | 13624)[Dll.cpp:244] Dll:DllMain - pass [16-07-2024 10:17:55](11332 | 13624)[Dll.cpp:181] CClassFactory::CreateInstance [16-07-2024 10:17:55](11332 | 13624)[Dll.cpp:184] Dll:Invoke IID_ICredentialProvider [16-07-2024 10:17:55](11332 | 13624)[CProvider.cpp:577] BaroPAM_CreateInstance [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1268] BaroPAM::runProcessBLE [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1258] BaroPAM::isBLELogin [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1119] BaroPAM::init_PAM [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1143] BaroPAM::init_PAM(**) - username[] GET_BAROPAM_CURR_HOME[C:\Program Files (x86)\BaroPAM\] [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1317] BaroPAM::IsExistProcess [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1321] ProcessName : BaroBLEManager.exe [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1340] 2 ProcessName : FALSE [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1236] BaroPAM::getBaroPAM_HOME [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1119] BaroPAM::init_PAM [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1143] BaroPAM::init_PAM(**) - username[] GET_BAROPAM_CURR_HOME[C:\Program Files (x86)\BaroPAM\] [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1236] BaroPAM::getBaroPAM_HOME [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1119] BaroPAM::init_PAM [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1143] BaroPAM::init_PAM(**) - username[] GET_BAROPAM_CURR_HOME[C:\Program Files (x86)\BaroPAM\] [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1298] Restart BaroBLE app [C:\Program Files (x86)\BaroPAM\BaroBLEManager\BaroBLEManager.exe] TYPE[] PORT[] [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1258] BaroPAM::isBLELogin [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1119] BaroPAM::init_PAM [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1143] BaroPAM::init_PAM(**) - username[] GET_BAROPAM_CURR_HOME[C:\Program Files (x86)\BaroPAM\] [16-07-2024 10:17:55](11332 | 13624)[CProvider.cpp:585] BaroPAM_CreateInstance [16-07-2024 10:17:55](11332 | 13624)[CProvider.cpp:61] CProvider::CProvider [16-07-2024 10:17:55](11332 | 13624)[Configuration.cpp:107] Configuration::Configuration [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1236] BaroPAM::getBaroPAM_HOME [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1119] BaroPAM::init_PAM [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1143] BaroPAM::init_PAM(**) - username[] GET_BAROPAM_CURR_HOME[C:\Program Files (x86)\BaroPAM\] [16-07-2024 10:17:55](11332 | 13624)[Configuration.cpp:73] GetWindowsVersion [16-07-2024 10:17:55](11332 | 13624)[Configuration.cpp:49] GetWindowsVersion [16-07-2024 10:17:55](11332 | 13624)[Configuration.cpp:66] GetWindowsVersion - End [16-07-2024 10:17:55](11332 | 13624)[Configuration.cpp:101] GetWindowsVersion - End [16-07-2024 10:17:55](11332 | 13624)[Configuration.cpp:153] Configuration - End [16-07-2024 10:17:55](11332 | 13624)[CProvider.cpp:592] BaroPAM_CreateInstance [16-07-2024 10:17:55](11332 | 13624)[CProvider.cpp:595] BaroPAM_CreateInstance [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1348] BaroPAM::IsRunBLE [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1317] BaroPAM::IsExistProcess [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1321] ProcessName : BaroBLEManager.exe [16-07-2024 10:17:55](11332 | 13624)[BaroPAM.cpp:1340] 2 ProcessName : TRUE [16-07-2024 10:17:55](11332 | 13624)[CProvider.cpp:599] BaroPAM_CreateInstance [16-07-2024 10:17:55](11332 | 13624)[CProvider.cpp:603] BaroPAM_CreateInstance Result: [16-07-2024 10:17:55](11332 | 13624)[CProvider.cpp:605] (int) 0 [16-07-2024 10:17:56](11332 | 13624)[Dll.cpp:238] Dll:DllMain [16-07-2024 10:17:56](11332 | 13624)[Dll.cpp:239] SYSTEM [16-07-2024 10:17:56](11332 | 13624)[Dll.cpp:244] Dll:DllMain - pass [16-07-2024 10:17:56](11332 | 13624)[Dll.cpp:181] CClassFactory::CreateInstance [16-07-2024 10:17:56](11332 | 13624)[Dll.cpp:188] Dll:Invoke IID_ICredentialProviderFilter [16-07-2024 10:17:56](11332 | 13624)[CCredentialProviderFilter.cpp:47] BaroPAMFilter_CreateInstance [16-07-2024 10:17:56](11332 | 13624)[CCredentialProviderFilter.cpp:103] CCredentialProviderFilter::CCredentialProviderFilter [16-07-2024 10:17:56](11332 | 13624)[CCredentialProviderFilter.cpp:105] CCredentialProviderFilter - End [16-07-2024 10:17:56](11332 | 13624)[CCredentialProviderFilter.cpp:58] (int) 0 [16-07-2024 10:17:56](11332 | 13624)[CCredentialProviderFilter.cpp:66] CCredentialProviderFilter::Filter: CPUS_LOGON ………… |