Including the time taken field in access.log

The access.log file registers every HTTP request received by the WebLogic Server. It contains valuable information for the analysis in the production environments.

In this recipe, all Managed Servers of the PROD_Cluster cluster will be configured to add the time taken field to the access.log logfile. The default configuration does not include the time taken to process an HTTP request in the access.log file.

Getting ready

The access.log file has been configured using the Administration Console, so make sure the Administration Server is running.

How to do it...

Carry out the following steps to add the time taken field:

  1. Access the Administration Console by pointing your web browser to http://adminhost.domain.local:7001/console ...

Get Oracle WebLogic Server 12c Advanced Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.