From 33092f68b1dfc3b9dae653b8b0b95cbab5381d5c Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 11 Oct 2011 16:34:58 +0000
Subject: [PATCH] Fix OPENDJ-308: Implement access log filtering and configurable message format
---
opends/src/admin/defn/org/opends/server/admin/std/FileBasedAccessLogPublisherConfiguration.xml | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/FileBasedAccessLogPublisherConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/FileBasedAccessLogPublisherConfiguration.xml
index f18115d..3249731 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/FileBasedAccessLogPublisherConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/FileBasedAccessLogPublisherConfiguration.xml
@@ -24,6 +24,7 @@
!
!
! Copyright 2007-2009 Sun Microsystems, Inc.
+ ! Portions copyright 2011 ForgeRock AS.
! -->
<adm:managed-object name="file-based-access-log-publisher"
plural-name="file-based-access-log-publishers"
@@ -40,6 +41,15 @@
<ldap:superior>ds-cfg-access-log-publisher</ldap:superior>
</ldap:object-class>
</adm:profile>
+ <adm:relation name="access-log-filtering-criteria">
+ <adm:synopsis>
+ The set of criteria which will be used to filter log records.
+ </adm:synopsis>
+ <adm:one-to-many/>
+ <adm:profile name="ldap">
+ <ldap:rdn-sequence>cn=Filtering Criteria</ldap:rdn-sequence>
+ </adm:profile>
+ </adm:relation>
<adm:property-override name="java-class" advanced="true">
<adm:default-behavior>
<adm:defined>
@@ -285,4 +295,40 @@
</ldap:attribute>
</adm:profile>
</adm:property>
+ <adm:property name="filtering-policy">
+ <adm:synopsis>
+ Specifies how filtering criteria should be applied to log records.
+ </adm:synopsis>
+ <adm:default-behavior>
+ <adm:defined>
+ <adm:value>no-filtering</adm:value>
+ </adm:defined>
+ </adm:default-behavior>
+ <adm:syntax>
+ <adm:enumeration>
+ <adm:value name="no-filtering">
+ <adm:synopsis>
+ No filtering will be performed, and all records will be logged.
+ </adm:synopsis>
+ </adm:value>
+ <adm:value name="inclusive">
+ <adm:synopsis>
+ Records must match at least one of the filtering criteria in order
+ to be logged.
+ </adm:synopsis>
+ </adm:value>
+ <adm:value name="exclusive">
+ <adm:synopsis>
+ Records must not match any of the filtering criteria in order to be
+ logged.
+ </adm:synopsis>
+ </adm:value>
+ </adm:enumeration>
+ </adm:syntax>
+ <adm:profile name="ldap">
+ <ldap:attribute>
+ <ldap:name>ds-cfg-filtering-policy</ldap:name>
+ </ldap:attribute>
+ </adm:profile>
+ </adm:property>
</adm:managed-object>
--
Gitblit v1.10.0