CentraSite Documentation : CentraSite Administrator’s Guide : Logging : Purging Logs : Configuring Log Purging from the Command Line
Configuring Log Purging from the Command Line
 
Creating a Configuration File to Define Log Purging
Executing the Script File That Invokes Log Purging
You can configure log purging by executing the following command in the command line interface CentraSiteCommand.cmd (Windows) or CentraSiteCommand.sh (UNIX) of Command Central. The tool is located in <CentraSiteInstallDir>/utilities folder.
If you start this command line tool with no parameters, you receive a help text summarizing the required input parameters.
The parameters of the command are case-sensitive, so for example the parameter -url must be specified as shown and not as -URL.
To invoke log purging from the command line, you must perform the following high-level steps:
1. Create a configuration (config.xml) file.
2. Execute the script file CentraSiteCommand with appropriate input parameters.
Important:  
You must be a user with CentraSite Administrator role to execute the script file.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback