CentraSite 10.5 | CentraSite Administrator’s Guide | Managing Logs | Audit Logs for User Information | Switching the Audit Log Store
 
Switching the Audit Log Store
Pre-requisites:
To change the storage of audit logs through the Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named switch auditLog for this purpose.
When you use the start auditLog command, CentraSite logs the information in the current audit log. You can use the switch auditLog command to log information in the next audit log file. For example, if the current log file is audit log 1, you can use the switch auditLog command to specify that CentraSite should store the next log entry in the subsequent log file (audit log 2). CentraSite can create up to ten audit log files after you successfully run the start auditLog command.
*To change the storage of audit logs
*Run the command switch auditLog.
The syntax is of the format C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd switch auditLog [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD>
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the registered CentraSite user.
LOGDATA
The data to be written to the audit log.
Example (UNIX):
/opt/softwareag/CentraSite/utilities> ./CentraSiteCommand.sh switch auditlog -user Administrator -password manage