From d13f4bb71bcd9e903cd87e6f2625a9f8dc1b5ed6 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 21 May 2013 12:47:35 +0000
Subject: [PATCH] OPENDJ-902 (CR-1702) Add connectionID to the HTTP access log + move to extended log format OPENDJ-858 (CR-1702) Add stats tracking to HTTP client connections
---
opends/src/admin/defn/org/opends/server/admin/std/FileBasedHTTPAccessLogPublisherConfiguration.xml | 29 +++++++++++++++++++----------
1 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/FileBasedHTTPAccessLogPublisherConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/FileBasedHTTPAccessLogPublisherConfiguration.xml
index 28e0737..33d466e 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/FileBasedHTTPAccessLogPublisherConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/FileBasedHTTPAccessLogPublisherConfiguration.xml
@@ -292,8 +292,8 @@
</adm:synopsis>
<adm:default-behavior>
<adm:defined>
- <adm:value>cs-host c-ip cs-username datetime cs-method cs-uri-query
- cs-version sc-status sc-bytes cs(User-Agent) x-connection-id</adm:value>
+ <adm:value>cs-host c-ip cs-username x-datetime cs-method cs-uri-query
+ cs-version sc-status cs(User-Agent) x-connection-id x-etime</adm:value>
</adm:defined>
</adm:default-behavior>
<adm:syntax>
@@ -302,15 +302,24 @@
<adm:regex>[a-zA-Z0-9-()]+( [a-zA-Z0-9-()]+)*</adm:regex>
<adm:usage>FORMAT</adm:usage>
<adm:synopsis>
- A string describing the extended log format to be used for logging
- HTTP accesses. Available values are listed on the W3C working draft
- http://www.w3.org/TR/WD-logfile.html and Microsoft website
+ A space separated list of fields describing the extended log format
+ to be used for logging HTTP accesses. Available values are listed on
+ the W3C working draft http://www.w3.org/TR/WD-logfile.html
+ and Microsoft website
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/676400bc-8969-4aa7-851a-9319490a9bbb.mspx?mfr=true
- . Please note that "date" and "time" have been merged into
- "datetime" and that its ouput is controlled by
- "ds-cfg-log-record-time-format" property. OpenDJ adds the
- application specific field "x-connection-id" which displays the
- internal connection ID assigned to the HTTP client connection.
+
+ OpenDJ supports the following standard fields: "c-ip", "c-port",
+ "cs-host", "cs-method", "cs-uri-query", "cs(User-Agent)",
+ "cs-username", "cs-version", "s-computername", "s-ip", "s-port",
+ "sc-status".
+
+ OpenDJ supports the following application specific field extensions:
+ "x-connection-id" displays the internal connection ID assigned to
+ the HTTP client connection, "x-datetime" displays the completion
+ date and time for the logged HTTP request and its ouput is
+ controlled by the "ds-cfg-log-record-time-format" property,
+ "x-etime" displays the total execution time for the logged HTTP
+ request.
</adm:synopsis>
</adm:pattern>
</adm:string>
--
Gitblit v1.10.0