Software AG Products 10.5 | Administering CentraSite | Managing Logs | Configuring Logs | Configuring Log Settings
 
Configuring Log Settings
Pre-requisites:
To configure the log settings for specified log units through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named set Log for this purpose.
*To configure the log settings
*Run the command set Log.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set 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 set Log -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -file config.xml
The response to this command could be:
Executing the command : set Log

Successfully executed the command : set Log