My Oracle Support Banner

How To Add Latency To The ORDS Access Log (Doc ID 2913165.1)

Last updated on DECEMBER 07, 2022

Applies to:

Oracle REST Data Services - Version 22.3.1 and later
Information in this document applies to any platform.

Goal

1. ORDS with the standalone web server, which is an embedded version of the jetty web server.
Enabled access log on the standalone server.
Each entry in the access log consists of the following fields:
<host> <user> <authuser> [<timestamp>] "<method> <URI> <protocol>" <http-status> <size-of-response-in-bytes>
It is possible to configure jetty to include latency in the request log
How to find the jetty configuration file concerned in ORDS and so to monitor the performance of the system and need to know, how to configure ORDS to record the latency in handling each request in the access log?

 

2. The instructions created a new log file in /ords/ords-access.log in addition to the one named in the property standalone.access.log.

   Is there a way to write jetty-log-handler.xml so that it affects the log file named in standalone.access.log? as standalone.access.log has log rotation built-in.

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.