Forums MyID knowledge base MY0382 Lifecycle API (XML Import / MyIDEnroll) logging

Tagged: 

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2957
    MyID Support
    Keymaster

    QUESTION:

    Is there a way to switch on logging for the Lifecycle API (XML Import / MyIDEnroll) for troubleshooting purposes?

     

    ANSWER :

    The Audit and System Events Reports can provide troubleshooting information in the event that transmissions via the Lifecycle API are failing or not producing the expected results. However, there are exceptions to this in the event that the transmission to the Lifecycle API is not reaching a point where the information being sent can be processed. There is some additional logging that can be switched on for the API itself.

     

      • On the server accepting the XML requests, usually the MyID Web Server, navigate to the MyIDEnroll folder in the Intercede program folder. By default this is C:\Program Files (x86)\Intercede\MyID\Web\MyIDEnroll.
      • Edit the file Web.config. Ideally this will need to be performed in a text editor as a user with local administrator privileges, i.e. RUN AS Administrator.
      • In between the nodes </configuration> and </system.webserver>, insert the following XML

    <system.diagnostics>  

    <trace autoflush=”true” />  

    <sources>  

    <source name=”System.Web.Services.Asmx”>  

    <listeners>  

    <add name=”AsmxTraceFile” type=”System.Diagnostics.TextWriterTraceListener” initializeData=“c:\Logs\myidenroll.log” traceOutputOptions=”LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId”/>  

    </listeners>  

    </source>  

    </sources>  

    <switches>  

    <add name=”System.Web.Services.Asmx” value=“Verbose”/>  

    </switches>  

    </system.diagnostics> 

    The text highlighted in YELLOW is where the log file will be written. This can be any folder path / file name that the MyID service accounts have permissions to write to.  The folder should be excluded from any anti-virus checking.

    The text highlighted in GREEN should be changed from “Verbose” to “None” after the troubleshooting has completed to prevent performance problems and large log files filling up disk space.

Viewing 1 post (of 1 total)
  • The forum ‘MyID knowledge base’ is closed to new topics and replies.