ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to check in arcotafm.log file for OTP sent via email or SMS

book

Article ID: 237065

calendar_today

Updated On:

Products

CA Risk Authentication CA Advanced Authentication CA Strong Authentication

Issue/Introduction

How can I confirm that the OTP mail was sent from the log:


Is it possible to determine that the OTP was created and sent by email from the following log output to arcotafm.log?
2022-03-09 15:05:32,709 [WebContainer : 3] INFO  api.impl.TxnMarker(31) [] -> Txn-Begin : OP=create | CTxID=_6USX_2_221
2022-03-09 15:05:32,778 [WebContainer : 3] INFO  api.impl.TxnMarker(45) [] ->  Txn-End : OP=create | CTxID=_6USX_2_221 | STxID=31108 | RC=0 | REC=0 | TOT=68 | SRT=154 | TGC=7 | TRC=0 | TWR=53 | TRD=127 | TCR=2 | RTC=1 | NCA=-1 | NCB=-1

The following log appeared in arcotwebfort.log.
03/09/22 15:05:32.715 INFO  TXN_NATIVE   00009268 00031108 - Txn-Begin : TxnID=31108 | ClientTxnID=[_6USX_2_221] | Protocol=5 (TXN_NATIVE) | ReqSize=460 | TST=2022-03-09 06:05:32:0 (DB)
03/09/22 15:05:32.772 INFO  TXN_NATIVE   00009268 00031108 - [UDS] UDS Log : Successfully retrieved the user [[email protected]] for organization [HELLORG]
03/09/22 15:05:32.775 INFO  TXN_NATIVE   00009268 00031108 - Succesfully created [ OTP ]
03/09/22 15:05:32.777 INFO  TXN_NATIVE   00009268 00031108 - Txn-End : TxnID=31108 | ClientTxnID=[_6USX_2_221] | Processor=20 (ISSUANCE) | Operation=2100 (ISSUANCE_CRED_CREATE) | Response=0 (SUCCESS) | Reason=0 (UNDEFINED) | RespSize=266 | Time=162 | DBT=11 | NQ=4 | ExtEvents={ NONE } | AddInfo=[Credential(s) : {OTP}] | LTB=00808 | LNL=0004/0004 | LML=177

Environment

Release : 9.1

Component :Strong Authentication

Risk Authentication

Resolution

You should these lines in DEBUG mode in arcotafm.log file related to email being sent to user.

For Email:

2022-03-16 11:24:29,298 [http-nio-8080-exec-2] DEBUG integrations.frontend.BasicSMTPEmailService(155) [] -> Preparing to send email.
2022-03-16 11:24:30,104 [http-nio-8080-exec-2] DEBUG integrations.frontend.BasicSMTPEmailService(157) [] -> Email sent successfully to [email protected]
2022-03-16 11:24:30,294 [http-nio-8080-exec-2] INFO  integrations.frontend.BasicSMTPEmailService(163) [] -> Unsetting Proxy Configuration from System Properties
2022-03-16 11:24:30,295 [http-nio-8080-exec-2] DEBUG integrations.frontend.LifeCycleStateData(729) [] -> Email successfully sent to user (user,org)=(march07,DEFAULTORG) at '[email protected]' |520c2aafd78ad5d9f84423468ba7145872230f14

For SMS:


2022-03-09 11:28:33,635 [http-nio-8080-exec-1] DEBUG integrations.frontend.ClickATellSMSService(108) [] -> Telephone number received is 17742458867. Removing special characters if any.
2022-03-09 11:28:33,989 [http-nio-8080-exec-1] DEBUG integrations.frontend.ClickATellSMSService(241) [] -> Processing URL response
2022-03-09 11:28:33,990 [http-nio-8080-exec-1] DEBUG integrations.frontend.ClickATellSMSService(250) [] -> sms response::ID: ce1982e4a3a6ad9a6036ad8b953f7e4f
2022-03-09 11:28:33,990 [http-nio-8080-exec-1] INFO  integrations.frontend.ClickATellSMSService(260) [] -> Unsetting Proxy Configuration from System Properties
2022-03-09 11:28:33,990 [http-nio-8080-exec-1] DEBUG integrations.frontend.LifeCycleStateData(729) [] -> SMS successfully sent to user (user,org)=(march07,DEFAULTORG) at '17742459967' |f8025d91c64f03f566d79a16dab50bc0a0af5bb4

From the INFO mode log:

In INFO mode log you should see if the OTP is validated that will in turn confirm that the OTP was delivered and customer validated that. There is no log line written that email was sent but this method will confirm that OTP was sent and validated.

2022-03-16 11:24:52,612 [http-nio-8080-exec-8] INFO  api.impl.TxnMarker(31) [] -> Txn-Begin : OP=verifyOTP | CTxID=_MD4E_4_64
2022-03-16 11:24:52,766 [http-nio-8080-exec-8] INFO  api.impl.TxnMarker(45) [] ->  Txn-End : OP=verifyOTP | CTxID=_MD4E_4_64 | STxID=9546 | RC=0 | REC=0 | TOT=153 | SRT=133 | TGC=1 | TRC=0 | TWR=1 | TRD=627 | TCR=-1 | RTC=3 | NCA=-1 | NCB=-1
2022-03-16 11:24:52,767 [http-nio-8080-exec-8] DEBUG integrations.frontend.LifeCycleStateData(729) [] -> WebFort transactionID for verifyOTP is 9546 |520c2aafd78ad5d9f84423468ba7145872230f14
2022-03-16 11:24:52,767 [http-nio-8080-exec-8] DEBUG integrations.frontend.LifeCycleStateData(729) [] -> verifyOTP success |520c2aafd78ad5d9f84423468ba7145872230f14