mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
05.16.2007 e0c5b184252862e29ca271955bcd15eebd752830
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<adm:managed-object
    name="size-limit-log-rotation-policy"
    plural-name="size-limit-log-rotation-policies"
    package="org.opends.server.admin.std"
    extends="log-rotation-policy"
    xmlns:adm="http://www.opends.org/admin"
    xmlns:ldap="http://www.opends.org/admin-ldap">
  <adm:synopsis>
    Rotation policy based on the size of the log file.
  </adm:synopsis>
  <adm:profile name="ldap">
    <ldap:object-class>
      <ldap:oid>1.3.6.1.4.1.26027.1.2.107</ldap:oid>
      <ldap:name>ds-cfg-size-limit-log-rotation-policy</ldap:name>
      <ldap:superior>ds-cfg-log-rotation-policy</ldap:superior>
    </ldap:object-class>
  </adm:profile>
  <adm:property-override name="java-implementation-class">
    <adm:default-behavior>
      <adm:defined>
        <adm:value>
          org.opends.server.loggers.SizeBasedRotationPolicy
        </adm:value>
      </adm:defined>
    </adm:default-behavior>
  </adm:property-override>
  <adm:property name="file-size-limit" mandatory="true">
    <adm:synopsis>
      The size of the file when rotation takes place.
    </adm:synopsis>
    <adm:syntax>
      <adm:size lower-limit="1" />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:oid>1.3.6.1.4.1.26027.1.1.379</ldap:oid>
        <ldap:name>ds-cfg-file-size-limit</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
</adm:managed-object>