Enable Access Logs in HTTP Channel

Use the following settings to add support for access logs on Native HTTP Channels.

To add support for access logging for the native HTTP channel, change the following settings found in the Advanced tab of the HTTP channel resource editor:

  1. Select the Debug Request Info check box. This enables two additional debug fields - Debug Log Folder and Debug Log Pattern.
  2. In the Debug Log Folder field, specify where the location of the log file should be generated. The default location is the currently running folder/logs.
  3. In the Debug Log Pattern field, the default log pattern is used. To change the log pattern, refer to the Tomcat documentation.
Note: You can use global variables in all fields of the Advanced tab.

The following properties need to be modified for the access logs.

Parameters to enable access logging for native HTTP Channel:
  • tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPConnection/DebugFolder

    For example, tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPConnection/DebugFolder=C:/tibco/asg20/c/tibco/cfgmgmt/asg/logs

  • tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPConnection/DebugPattern

    For example, tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPConnection/DebugPattern=%{yyyy MMM dd HH:mm:ss.SSS 'GMT'X}t %A %I [%m] '%U' [%s] %bbytes %Dms

Parameters to enable access logging for native HTTPS Channel:
  • tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPSSLConnection/DebugFolder

    For example, tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPSSLConnection/DebugFolder=C:/tibco/asg20/c/tibco/cfgmgmt/asg/logs

  • tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPSSLConnection/DebugPattern

    For example, tibco.clientVar.DefaultImplementation/Connections/HTTP/FacadeHTTPSSLConnection/DebugPattern=%{yyyy MMM dd HH:mm:ss.SSS 'GMT'X}t %A %I [%m] '%U' [%s] %bbytes %Dms