
Directory Proxy Server 6.0 maintains an errors log le, an access log le, and administrative
alerts.
The errors log and administrative alerts are equivalent to the version 5 system log.
Administrative alerts are events raised by Directory Proxy Server. These events can be sent to
the syslog daemon or to an administrator through email.
The Directory Proxy Server 6.0 access log is equivalent to the version 5 audit log.
Logs in version 5 were congured by using the ids-proxy-sch-LogProperty object class. Logs
in Directory Proxy Server 6.0 are congured by setting properties for the access and error log,
using the dpconf command. For example, to set properties for the access log, use the following
command:
$ dpconf set-access-log-prop PROPERTY:VALUE
Directory Proxy Server 6.0 provides new log features, such as log le rotation, and enables log
conguration to be ne tuned. For example, one log level can be set per message category.
In Iplanet Directory Access Router 5.0 (IDAR) log conguration attributes are stored under
ids-proxy-con-Config-Name=name,ou=global,ou=pd2,ou=iDAR,o=services. In Directory
Proxy Server 5.2, log conguration attributes are stored under
ids-proxy-con-Config-Name=user-dened-name,ou=system,ou=dar-config,o=netscaperoot.
It is not really possible to map the log conguration between Directory Proxy Server 5 and
Directory Proxy Server 6.0 because the logging models between these two versions are very
dierent. The Directory Proxy Server 5 log model combines what is logged with where it is
logged. In Directory Proxy Server 6.0, the model is cleaner. One set of properties describes what
is logged, and a separate set of properties describes where log messages are sent.
The following table lists the attributes of the ids-proxy-sch-LogProperty object class and
describes at a high level how the corresponding functionality is achieved in Directory Proxy
Server 6.0.
TABLE 6–17 Version 5 and Version 6 Log Functionality
Directory Proxy Server 5 Attribute Purpose Directory Proxy Server 6.0 Equivalent
ids-proxy-con-log-level Level of logging Global log level
ids-proxy-con-stat-level Kinds of statistics logged Monitoring data
ids-proxy-con-log-syslog Syslog facility code syslog output for administrative alerts
No equivalent for error messages
ids-proxy-con-log-file Path to log le log-file-name of the error-log object
Mapping the Properties Conguration
Sun Java System Directory Server Enterprise Edition 6.0 Migration Guide • March 2007102
Sun Condential: Registered
Comentários a estes Manuais