AE 22.x and newer - How to enable verbose logging for the AppEnhancer website.

AE 22.x and newer - How to enable verbose logging for the AppEnhancer website.

How do I enable verbose logging for the AppEnhancer website (versions 22.x and newer).

  1. Back up the C:\inetpub\wwwroot\AppEnhancer\web.config and if it needs the C:\inetpub\wwwroot\AppenhancerREsT\web.config file.
  2. Open web.config, find <system.diagnostics> and highlight until you see </system.diagnostics>.
  3. Delete and replace it with this:
    <system.diagnostics>
        <trace autoflush="true">
          <listeners>
            <!--<add name="axEventLogListener" />-->
            <!--<add name="axFileListener1"/>-->
          </listeners>
        </trace>
        <sources>
          <!--This trace source logs Web Access events-->
          <source name="AXWXTrace" switchName="WXSwitch" switchType="System.Diagnostics.SourceSwitch">
            <listeners>
              <!--<add name="axEventLogListener" />-->
          <add name="AXWXTrace" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\windows\temp\WXSwitch.log" traceOutputOptions="DateTime, ProcessId, ThreadId" />
            </listeners>
          </source>
          <!-- This trace source logs AXEngine events -->
          <source name="AXEngineTrace" switchName="EngineSwitch" switchType="System.Diagnostics.SourceSwitch">
            <listeners>
              <!--<add name="axEventLogListener" />-->
          <add name="AXEngineTrace" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\windows\temp\EngineSwitch.log" traceOutputOptions="DateTime, ProcessId, ThreadId" />
            </listeners>
          </source>
          <!-- This trace source logs Database Library events -->
          <source name="XSDatabaseLib" switchName="DBSwitch" switchType="System.Diagnostics.SourceSwitch">
            <listeners>
              <!--<add name="axEventLogListener" />-->
          <add name="XSDatabaseLib" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\windows\temp\DBSwitch.log" traceOutputOptions="DateTime, ProcessId, ThreadId" />
            </listeners>
          </source>
          <!-- This trace source logs DB SQL commands -->
          <source name="XSSQLTrace" switchName="SQLSwitch" switchType="System.Diagnostics.SourceSwitch">
            <listeners>
              <!--<add name="axEventLogListener" />-->
          <add name="XSSQLTrace" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\windows\temp\SQLSwitch.log" traceOutputOptions="DateTime, ProcessId, ThreadId" />
            </listeners>
          </source>

          <!--Enable WCF verbose log to diagnose Rendering Service connection issues-->
          <!--<source name="System.ServiceModel"
                          switchValue="Information, ActivityTracing"
                          propagateActivity="true">
            <listeners>
              <add name="sdt"
                  type="System.Diagnostics.XmlWriterTraceListener"
                  initializeData= "C:\windows\Temp\WXWCF.svclog" />
            </listeners>
          </source>-->
        </sources>
        <switches>
          <!--Trace Level.  Possible levels: Off, Error, Warning, Information, Verbose-->
          <add name="DBSwitch" value="Verbose" />
          <add name="SQLSwitch" value="Verbose" />
          <add name="EngineSwitch" value="Verbose" />
          <add name="WXSwitch" value="Verbose" />
        </switches>
        <sharedListeners>
          <!-- Write trace events to Windows Event Log at level of log switch
                  - only use this when switch set to Error or Warning
                    else too much data in Windows Event log 
            -->
          <!--<add name="axEventLogListener" type="System.Diagnostics.EventLogTraceListener" initializeData="AxWebEventLog" />-->
          <!--Write trace events to log file.-->
          <!--<add name="axFileListener1" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\windows\temp\AxWebMessage.log" traceOutputOptions="DateTime, ProcessId, ThreadId" />-->
        </sharedListeners>
      </system.diagnostics>

  4. Reproduce the issue - any verbose logs will be generated in C:\Windows\Temp\.  It may not generate all logs listed below.
        
        -  C:\windows\temp\WXSwitch.log
        -  C:\windows\temp\EngineSwitch.log
        -  C:\windows\temp\DBSwitch.log
        -  C:\windows\temp\SQLSwitch.log
        -  C:\windows\temp\AxWebMessage.log
        -  C:\windows\Temp\WXWCF.svclog

After the verbose logs have been generated, rename or delete the web.config file, and restore the backup config file from Step 1 to "web.config" so that verbose logs are no longer generated.

    • Related Articles

    • AppEnhancer not emailing documents after upgrade

      Error with Client Emailing after ApplicationEnhancer Upgrade. After AppEnhancer upgrade from AppXtender if you are experiencing issues with emailing documents in WebAccess as per below screen: Resolution The resolution is to reregister AE WebAccess. ...
    • How to enable the Recycle bin in AppEnhancer

      If you need assistance recovering a document, please see How to recover deleted documents from an application with the recycle bin enabled The Recycle bin is disabled by default and is enabled in the application configuration. Follow these steps to ...
    • AppEnhancer: How to copy or move Documents from one application to another application

      Documents in AppEnhancer need to be moved or copied to a different application. User accidentally put documents in wrong application, or you need the document in two applications. 1. Open Document, click in top left corner on the word document 2. ...
    • Enable Annotation Toolbar in ApplicationXtender Web Access

      First make sure their group/user has the rights in AppGen. Then you must enable to IRC viewer and check to display the annotation toolbar for that user. This can be done by the end-user going to their user settings while in WebAX or you can do it ...
    • How to enable and use scanning for AppEnhancer or AppEnhancer Web Access

      How to enable and use scanning from Web Access Requirements Captiva Cloud Toolkit Web Access (WX) requires the installation of a plugin called Captiva Cloud Toolkit (CCT) to enable scanning. It comprises of the following. These downloads can be ...