CentraSite Documentation : CentraSite Administrator’s Guide : Logging : Purging Logs : Configuring Log Purging from the Command Line : Executing the Script File That Invokes Log Purging
Executing the Script File That Invokes Log Purging
To invoke log purging function, you must use the script file CentraSiteCommand with the config.xml input parameter, as follows:
CentraSiteCommand purge Logs
[-url <CENTRASITE-URL>]
-user <USER-ID>
-password <PASSWORD>
[-assets <Asset
Name/Key (s)>
]
-file <CONFIG-FILE>
Example 26. Example
CentraSiteCommand purge Logs -url
"http://localhost:53307/CentraSite/CentraSite" -user "Administrator" -password
"manage" -assets "MyService" -file "config.xml"
Input Parameters
The following table describes the complete set of input parameters that you can use with the purge Logs utility:
Parameter
Description
-url
The fully qualified URL (http://localhost:53307/CentraSite/CentraSite) for the CentraSite registry/repository.
-user
The user ID of a user who has the CentraSite Administrator role.
-password
The password of the user identified by the parameter -user.
-assets
The name or UUID assigned to the asset and which uniquely identifies it within the registry.
-file
The absolute or relative path to the XML configuration file. If relative, the path should be relative to the location from where the command is executed.
Note:  
If the specified key or name of the asset to purge does not match any existing asset in the registry, then no purging is done.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback