Create the JSON configuration file
Contributors
Download PDF of this page
Create the JSON configuration file.
If you want to enable event log messages, the syslog client, or customer logging, complete the following steps.
Steps
-
Open any text editor, such as notepad or vi.
-
Create a new file with the following JSON template.
{ "logConfig": { "level": "INFO", "maxBytes": 52428800, "name": "xcp.log" }, "eventlog": { "isEnabled": false, "level": "INFO" }, "syslog": { "isEnabled": false, "level": "INFO", "serverIp": "10.234.219.87", "port": 514 }, "sanitize": false }
-
For any features you want to enable, change the
isEnabled
value totrue
. -
Name the file
xcpLogConfig.json
and sae it to the file location mentioned in Error! Reference source not found.
Default configuration | Example json configuration file |
---|---|
{ "logConfig": { "level": "INFO", "maxBytes": 52428800, "name": "xcp.log" }, "sanitize": false } |
{ "logConfig": { "level": "INFO", "maxBytes": 52428800, "name": "xcp.log" }, "eventlog": { "isEnabled": false, "level": "INFO" }, "syslog": { "isEnabled": false, "level": "INFO", "serverIp": "10.234.219.87", "port": 514 }, "sanitize": false } |