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:
- Select the Debug Request Info check box. This enables two additional debug fields - Debug Log Folder and Debug Log Pattern.
- 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.
- In the Debug Log Pattern field, the default log pattern is used. To change the log pattern, refer to the Tomcat documentation.
The following properties need to be modified for the access logs.
- 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
- 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