You can turn on and turn off logging for the current cluster from the Logging tab of the cluster properties sheet in the Active Directory Rights Management Services snap-in. Turning off logging stops the Active Directory Rights Management Services (AD RMS) Web services from sending data to the logging message queue.
AD RMS logs are sent to the database server by Message Queuing. If a connection to the database server is not present, Message Queuing stores the logs in a local cache until connectivity is restored. The first time you enable logging, you should make sure that the AD RMS server has a connection to the database server and that the database service is started. If Message Queuing cannot deliver the logs to the logging database, it keeps the data in a queue on the hard disk of the AD RMS server. It continues to do this until all of the storage space on the server is full. When there is no disk space is left on the server, Message Queuing will stop. AD RMS does not display an error in this condition, because the feature is meant to support logging during times when the connection to the database server is interrupted.
Membership in the local AD RMS Enterprise Administrators, or equivalent, is the minimum required to complete this procedure.
|To turn on logging or turn off logging|
Log on to a server in the AD RMS cluster.
Open the Active Directory Rights Management Services console, and select the AD RMS cluster.
Right-click the cluster name, and then click Properties.
Click the Logging tab, and then do one of the following:
To turn logging on, select the Enable Logging check box.
To turn logging off, clear the Enable Logging check box.
- To turn logging on, select the Enable Logging check box.
Repeat steps 1-5 for each server in the AD RMS cluster.
If you are using Microsoft SQL Server as your database server, you can verify that the logs are being written to the database:
Membership in the local Administrators group and the System Administrators database role on the database server hosting the AD RMS configuration database, or equivalent, is the minimum required to complete this procedure.
|To verify that the logs are being written to the database|
Log on to the database server hosting the AD RMS logging database.
In SQL Server Enterprise Manager, expand Databases, and then expand the AD RMS logging database.
Expand Tables, right-click ServiceRequest, and then click Open table - return all rows. If log files are being created, you will see one or more rows in this table.