Use the ADSI_Log state table to write information to the log file. The log file is named $OAM_LOG_PATH/Appl.appl_name.log, where appl_name is the name of the state table that called the ADSI state tables.
Also, if the ADSI state tables detect an error, they invoke the ADSI_Log state table to put information about that error in the log file.
InvokeStateTable ("DIRECT", ADSI_Log, log, LogText, ReturnCode, File, Function, State);
In a default error handler, set this to SV163.
The ADSI_Log state table adds the following to the data you supply:
The state table concatenates all the information, then writes it as a line in the log file.
In this example, the message Now calling ADSI to connect is added to the log file.
InvokeStateTable("DIRECT", ADSI_Log, log,
"Now calling ADSI to connect",
1,
"puthex.sdc",
"connect",
SV163)
An example of the information written to the log file is:
ADSI date=199803231429282 channel=1 called number=4085551234 file=getcpe.sdc function=connect error=SDC file not found state=e2 return code=1