Software AG Products 10.5 | Administering CentraSite | Managing Logs | Obtaining Log Configuration Settings
 
Obtaining Log Configuration Settings
Pre-requisites:
To obtain the details of the log configuration settings through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named get Log for this purpose.
*To obtain log configuration settings
*Run the command get Log.
The syntax is of the format:C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get Log [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -file <CONFIG-FILE>
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 identified by the parameter USER-ID.
CONFIG-FILE
The absolute or relative path to the XML configuration file. If relative, the path must be relative to the location from where the command is executed.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get Log -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -file config.xml
The response to this command could be:
Executing the command : get Log

Successfully executed the command : get Log