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

matthew_swift
30.51.2007 3c6f59319ec8fea8c136f9580a910be76ba8dcea
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
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<adm:managed-object
    name="fixed-time-log-rotation-policy"
    plural-name="fixed-time-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 fixed time of day.
  </adm:synopsis>
  <adm:profile name="ldap">
    <ldap:object-class>
      <ldap:oid>1.3.6.1.4.1.26027.1.2.109</ldap:oid>
      <ldap:name>ds-cfg-fixed-time-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.FixedTimeRotationPolicy
        </adm:value>
      </adm:defined>
    </adm:default-behavior>
  </adm:property-override>
  <adm:property name="time-of-day" multi-valued="true" mandatory="true">
    <adm:synopsis>
      The time of day which log rotation should occur.
    </adm:synopsis>
    <adm:syntax>
      <adm:string>
        <adm:pattern>
          <adm:regex>
            ^(([0-1][0-9])|([2][0-3]))([0-5][0-9])$
          </adm:regex>
          <adm:synopsis>
            24 hour time of day in HHmm format.
          </adm:synopsis>
        </adm:pattern>
      </adm:string>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:oid>1.3.6.1.4.1.26027.1.1.126</ldap:oid>
        <ldap:name>ds-cfg-time-of-day</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
</adm:managed-object>