HTTP Logging
When Jetty servers used in shared resources receive requests, logs are created to capture all attempts to access the servers.
By default, logging is disabled. You can enable HTTP logging from TIBCO Business Studio for BusinessWorks and from a deployed application.
To enable and test logging from TIBCO Business Studio for BusinessWorks in the HTTP Connector Resource shared resource:
- In the Advanced tab, select the Enable Access Logs check box.
- In the Advanced tab, select Logging Configuration.
- Navigate to
bw\<Release_Number>\config\design\logbackand selectlogback_leveldebug.xml. - Check the console logs to make sure they display content.
bw.engine.http.jetty.accesslogs.enable system property to
true to enable Jetty logs.
To enable and test logging from a deployed application:
- Deploy the application on a TEA server.
- Enable the debug logging for
appnode. - Check the
appnode.logfile. - Check for log contents similar to the following:
++++++++++++++++++++2017-01-06 16:26:17.609 INFO [bwResourceHTTPConnector.qtp-112]com.tibco.bw.http.jetty.accesslogger - [HTTP Connector: mpandav-t450:6565] mpandav-t450192.168.56.1 - - [06/Jan/2017:16:26:17 +0530] "GET /?hello HTTP/1.1" 200 41 "-""Jakarta Commons-HttpClient/3.1" - 32 32++++++++++++++++++++
For more information on enabling HTTP access logging, see "HTTP Connector" in the TIBCO ActiveMatrix BusinessWorks™ Bindings and Palette Reference guide.
true.