Set Log Levels
All the listed privileges are required -
Privileges | Description |
---|---|
LOG_COLLECTION | Caller should have permission to this privilege, to perform this operation. |
{
"component_id": "855ea6c5-720a-41e1-96f4-958c90e6e424",
"component_type": "AGENT",
"feature_key": "all",
"log_level": "INFO",
"reset": false
}
Represents the ID of the log collector component type for which logs are to be collected.
Represents CS id if CS logs are collected, Machine id if Agent logs are collected and
RDS server id if Agent RDS logs are collected.
Represents the type of the log collector component.
- CONNECTION_SERVER: Log component type is Connection Server.
- AGENT: Log component type is agent machine from desktop pool.
- AGENT_RDS: Log component type is agent RDSH server from farm.
Short name of feature for which log level needs to be configured. This property is required if reset is set to false.
New log level for the provided feature. This property is required if reset is set to false.
- INFO: Represents INFO log level.
- DEBUG: Represents DEBUG log level..
- TRACE: Represents TRACE log level.
- VERBOSE: Represents VERBOSE log level.
Indicates if the log level need to be reset to installation default. This property has a default value of false.
No Content
Bad Request
User is not authenticated
Access to the resource is forbidden